#302E98#302E98
#302E98 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.167 H 275.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #302E98 |
|---|---|
| RGB | rgb(48, 46, 152) |
| HSL | hsl(241, 54%, 39%) |
| HSV | hsv(241, 70%, 60%) |
| CMYK | cmyk(68.4%, 69.7%, 0%, 40.4%) |
| CIE-LAB | lab(26.30, 35.53, -57.53) |
| CIE-LCH | lch(26.30, 67.62, 301.70°) |
| OKLab | oklab(37.95% 0.0167 -0.1661) |
| OKLCH | oklch(37.95% 0.167 275.8) |
| XYZ | xyz(7.8616, 4.8487, 30.2213) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.16
Royal
#0C1793
ΔE00 5.76
Blueberry
#464196
ΔE00 5.93
Indigo Blue
#3A18B1
ΔE00 5.96
Darkslateblue
#483D8B
ΔE00 6.07
Cobalt Blue
#030AA7
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302E98 #96982E
analogous
#2E6198 #302E98 #652E98
triadic
#302E98 #98302E #2E9830
tetradic
#302E98 #982E61 #96982E #2E9865
square
#302E98 #982E61 #96982E #2E9865
split-complementary
#302E98 #98652E #61982E
monochromatic
#12123A #212069 #302E98 #413EC5 #6F6DD3
Accessibility & contrast
On white
10.66
#302E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#302E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302E98
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302E98 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #302e98; /* rgb */ color: rgb(48, 46, 152); /* oklch */ color: oklch(38.0% 0.167 275.8);
Tailwind
colors: {
custom: {
50: '#7767b7',
500: '#302e98',
950: '#000000',
},
}SCSS
$custom: #302e98; $custom-light: #7767b7; $custom-dark: #000000;
JSON
{
"hex": "#302e98",
"rgb": {
"r": 48,
"g": 46,
"b": 152
},
"hsl": {
"h": 241.132,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.37954,
"c": 0.16698,
"h": 275.8
},
"luminance": 0.04849
}Semantic roles & 50–950 ramp
primary
#302E98
secondary
#B9BA68
accent
#DD4BDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80