#306CC2#306CC2
#306CC2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.7% C 0.148 H 257.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #306CC2 |
|---|---|
| RGB | rgb(48, 108, 194) |
| HSL | hsl(215, 60%, 47%) |
| HSV | hsv(215, 75%, 76%) |
| CMYK | cmyk(75.3%, 44.3%, 0%, 23.9%) |
| CIE-LAB | lab(45.97, 10.77, -50.59) |
| CIE-LCH | lch(45.97, 51.72, 282.01°) |
| OKLab | oklab(53.74% -0.0311 -0.1449) |
| OKLCH | oklch(53.74% 0.148 257.9) |
| XYZ | xyz(16.3155, 15.2467, 53.1115) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.95
Mid Blue
#276AB3
ΔE00 2.53
French Blue
#436BAD
ΔE00 2.88
Flat Blue
#3C73A8
ΔE00 4.01
Denim
#1560BD
ΔE00 4.24
Windows Blue
#3778BF
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306CC2 #C28630
analogous
#30B5C2 #306CC2 #3D30C2
triadic
#306CC2 #C2306C #6CC230
tetradic
#306CC2 #C230B5 #C28630 #30C23D
square
#306CC2 #C230B5 #C28630 #30C23D
split-complementary
#306CC2 #C23D30 #B5C230
monochromatic
#183560 #245191 #306CC2 #598CD6 #8AAEE2
Accessibility & contrast
On white
5.19
#306CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#306CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306CC2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306CC2 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#2367C0
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #306cc2; /* rgb */ color: rgb(48, 108, 194); /* oklch */ color: oklch(53.7% 0.148 257.9);
Tailwind
colors: {
custom: {
50: '#7c95d5',
500: '#306cc2',
950: '#000000',
},
}SCSS
$custom: #306cc2; $custom-light: #7c95d5; $custom-dark: #000000;
JSON
{
"hex": "#306cc2",
"rgb": {
"r": 48,
"g": 108,
"b": 194
},
"hsl": {
"h": 215.342,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.53735,
"c": 0.14823,
"h": 257.9
},
"luminance": 0.15249
}Semantic roles & 50–950 ramp
primary
#306CC2
secondary
#CCAE82
accent
#A244E3
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83