#302E71#302E71
#302E71 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.112 H 280.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #302E71 |
|---|---|
| RGB | rgb(48, 46, 113) |
| HSL | hsl(242, 42%, 31%) |
| HSV | hsv(242, 59%, 44%) |
| CMYK | cmyk(57.5%, 59.3%, 0%, 55.7%) |
| CIE-LAB | lab(22.91, 21.80, -38.62) |
| CIE-LCH | lch(22.91, 44.34, 299.44°) |
| OKLab | oklab(34.42% 0.0196 -0.1106) |
| OKLCH | oklch(34.42% 0.112 280) |
| XYZ | xyz(5.1756, 3.7743, 16.0754) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.16
Midnight Blue
#191970
ΔE00 6.38
Blueberry
#464196
ΔE00 7.67
Marine
#042E60
ΔE00 7.72
Navy Blue
#1B2A4A
ΔE00 8.56
Royal
#0C1793
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302E71 #6F712E
analogous
#2E4D71 #302E71 #512E71
triadic
#302E71 #71302E #2E7130
tetradic
#302E71 #712E4D #6F712E #2E7151
square
#302E71 #712E4D #6F712E #2E7151
split-complementary
#302E71 #71512E #4D712E
monochromatic
#0B0B1A #1E1C46 #302E71 #42409C #5F5DBD
Accessibility & contrast
On white
11.97
#302E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#302E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302E71
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302E71 | 1.00 | 11.97 | 1.76 | 11.97 |
| #FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#113E4A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #302e71; /* rgb */ color: rgb(48, 46, 113); /* oklch */ color: oklch(34.4% 0.112 280.0);
Tailwind
colors: {
custom: {
50: '#6f669a',
500: '#302e71',
950: '#000000',
},
}SCSS
$custom: #302e71; $custom-light: #6f669a; $custom-dark: #000000;
JSON
{
"hex": "#302e71",
"rgb": {
"r": 48,
"g": 46,
"b": 113
},
"hsl": {
"h": 241.791,
"s": 42.138,
"l": 31.176
},
"oklch": {
"l": 0.34424,
"c": 0.11234,
"h": 280
},
"luminance": 0.03775
}Semantic roles & 50–950 ramp
primary
#302E71
secondary
#A0A258
accent
#D256CE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E