#302FB9#302FB9
#302FB9 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.207 H 273.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #302FB9 |
|---|---|
| RGB | rgb(48, 47, 185) |
| HSL | hsl(240, 59%, 45%) |
| HSV | hsv(240, 75%, 73%) |
| CMYK | cmyk(74.1%, 74.6%, 0%, 27.5%) |
| CIE-LAB | lab(29.82, 46.08, -71.61) |
| CIE-LCH | lch(29.82, 85.16, 302.76°) |
| OKLab | oklab(41.47% 0.0107 -0.2072) |
| OKLCH | oklch(41.47% 0.208 273) |
| XYZ | xyz(10.9895, 6.1631, 46.5000) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.87
Indigo Blue
#3A18B1
ΔE00 4.73
Blue With A Hint Of Purple
#533CC6
ΔE00 5.45
True Blue
#010FCC
ΔE00 5.48
Blue Blue
#2242C7
ΔE00 5.60
Blurple
#5539CC
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302FB9 #B8B92F
analogous
#2F73B9 #302FB9 #752FB9
triadic
#302FB9 #B9302F #2FB930
tetradic
#302FB9 #B92F73 #B8B92F #2FB975
square
#302FB9 #B92F73 #B8B92F #2FB975
split-complementary
#302FB9 #B9752F #73B92F
monochromatic
#171657 #232388 #302FB9 #5352D3 #8483DF
Accessibility & contrast
On white
9.41
#302FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#302FB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302FB9
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302FB9 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #302fb9; /* rgb */ color: rgb(48, 47, 185); /* oklch */ color: oklch(41.5% 0.207 273.0);
Tailwind
colors: {
custom: {
50: '#7e69cf',
500: '#302fb9',
950: '#000000',
},
}SCSS
$custom: #302fb9; $custom-light: #7e69cf; $custom-dark: #000000;
JSON
{
"hex": "#302fb9",
"rgb": {
"r": 48,
"g": 47,
"b": 185
},
"hsl": {
"h": 240.435,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.41465,
"c": 0.2075,
"h": 273
},
"luminance": 0.06164
}Semantic roles & 50–950 ramp
primary
#302FB9
secondary
#C8C97B
accent
#E345E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82