#302E99#302E99
#302E99 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.168 H 275.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #302E99 |
|---|---|
| RGB | rgb(48, 46, 153) |
| HSL | hsl(241, 54%, 39%) |
| HSV | hsv(241, 70%, 60%) |
| CMYK | cmyk(68.6%, 69.9%, 0%, 40%) |
| CIE-LAB | lab(26.39, 35.87, -57.99) |
| CIE-LCH | lch(26.39, 68.19, 301.74°) |
| OKLab | oklab(38.05% 0.0166 -0.1675) |
| OKLCH | oklch(38.05% 0.168 275.7) |
| XYZ | xyz(7.9438, 4.8816, 30.6544) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.08
Royal
#0C1793
ΔE00 5.77
Indigo Blue
#3A18B1
ΔE00 5.85
Blueberry
#464196
ΔE00 5.96
Darkslateblue
#483D8B
ΔE00 6.14
Cobalt Blue
#030AA7
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302E99 #97992E
analogous
#2E6299 #302E99 #662E99
triadic
#302E99 #99302E #2E9930
tetradic
#302E99 #992E62 #97992E #2E9966
square
#302E99 #992E62 #97992E #2E9966
split-complementary
#302E99 #99662E #62992E
monochromatic
#12123B #21206A #302E99 #413FC5 #706ED3
Accessibility & contrast
On white
10.63
#302E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#302E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302E99
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302E99 | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #302e99; /* rgb */ color: rgb(48, 46, 153); /* oklch */ color: oklch(38.1% 0.168 275.7);
Tailwind
colors: {
custom: {
50: '#7767b8',
500: '#302e99',
950: '#000000',
},
}SCSS
$custom: #302e99; $custom-light: #7767b8; $custom-dark: #000000;
JSON
{
"hex": "#302e99",
"rgb": {
"r": 48,
"g": 46,
"b": 153
},
"hsl": {
"h": 241.121,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.38051,
"c": 0.16829,
"h": 275.7
},
"luminance": 0.04882
}Semantic roles & 50–950 ramp
primary
#302E99
secondary
#B9BB68
accent
#DD4BDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80