#302E77#302E77
#302E77 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.121 H 279.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #302E77 |
|---|---|
| RGB | rgb(48, 46, 119) |
| HSL | hsl(242, 44%, 32%) |
| HSV | hsv(242, 61%, 47%) |
| CMYK | cmyk(59.7%, 61.3%, 0%, 53.3%) |
| CIE-LAB | lab(23.38, 23.92, -41.69) |
| CIE-LCH | lch(23.38, 48.06, 299.85°) |
| OKLab | oklab(34.92% 0.0196 -0.1196) |
| OKLCH | oklch(34.92% 0.121 279.3) |
| XYZ | xyz(5.5246, 3.9139, 17.9135) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.68
Midnight Blue
#191970
ΔE00 6.03
Blueberry
#464196
ΔE00 7.02
Marine
#042E60
ΔE00 8.06
Royal
#0C1793
ΔE00 8.24
Sapphire (survey)
#2138AB
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302E77 #75772E
analogous
#2E5077 #302E77 #552E77
triadic
#302E77 #77302E #2E7730
tetradic
#302E77 #772E50 #75772E #2E7755
square
#302E77 #772E50 #75772E #2E7755
split-complementary
#302E77 #77552E #50772E
monochromatic
#0C0C1F #1E1D4B #302E77 #423FA3 #615EC1
Accessibility & contrast
On white
11.78
#302E77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#302E77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302E77
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302E77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302E77 | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#073F4D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #302e77; /* rgb */ color: rgb(48, 46, 119); /* oklch */ color: oklch(34.9% 0.121 279.3);
Tailwind
colors: {
custom: {
50: '#70679f',
500: '#302e77',
950: '#000000',
},
}SCSS
$custom: #302e77; $custom-light: #70679f; $custom-dark: #000000;
JSON
{
"hex": "#302e77",
"rgb": {
"r": 48,
"g": 46,
"b": 119
},
"hsl": {
"h": 241.644,
"s": 44.242,
"l": 32.353
},
"oklch": {
"l": 0.34925,
"c": 0.12124,
"h": 279.3
},
"luminance": 0.03914
}Semantic roles & 50–950 ramp
primary
#302E77
secondary
#A5A859
accent
#D454D0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E