Palettes / Colors / #306EF2
#306EF2 — Vivid Blue
#306EF2 is a blue color we call Vivid Blue, closest to the named color RoyalBlue (#4169E1). It belongs to the blue family.
#306EF2 is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.
Its strongest partner is its complement #F2B531; it also sits naturally between #31CEF2 and #5431F2. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #306EF2 |
|---|---|
| RGB | 48, 110, 242 |
| HSL | 221°, 88%, 57% |
| HSV | 221°, 80%, 95% |
| CMYK | 80%, 55%, 0%, 5% |
| XYZ | 22.82, 18.19, 86.31 |
| Yxy | 18.19, 0.1792, 0.1429 |
| CIE-Lab | 49.73, 27.47, -71.78 |
| Hunter Lab | 42.65, 23.52, -96.01 |
RGB & CMYK percentages
Red 19% · Green 43% · Blue 95%
Cyan 80% · Magenta 55% · Yellow 0% · Key 5%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #306EF2
.text { color: #306EF2; }
.background { background-color: #306EF2; }
.border { border: 3px solid #306EF2; }
.text-rgb { color: rgb(48, 110, 242); }
.text-hsl { color: hsl(221, 88%, 57%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #306EF2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(48, 110, 242, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #306EF2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(48, 110, 242, 0.8); }
HTML: <p style="color:#306EF2">Text here</p> · <div style="background-color:#306EF2">Div content here</div>
Shades of #306EF2
Tints of #306EF2
Tones of #306EF2
Color harmonies
Complementary — #F2B531:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 4.53:1 AA |
|---|---|
| Against black text | 4.64:1 AA |
Best text color on #306EF2: #000000.
How #306EF2 looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #306EF2 rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #306EF2?
#306EF2 is Vivid Blue, a blue color (RGB 48, 110, 242). Its closest standard named color is RoyalBlue.
What is the RGB and HSL of #306EF2?
#306EF2 is RGB 48, 110, 242 — HSL 221°, 88%, 57% — CMYK 80%, 55%, 0%, 5%.
What colors go with #306EF2?
Its complement is #F2B531; analogous partners are #31CEF2 and #5431F2. It also appears in 6+ palettes in our collection.
Can I use #306EF2 for text?
Black text on #306EF2 has a contrast ratio of 4.64:1 (passes WCAG AA); white text gives 4.53:1.