#302B94#302B94
#302B94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.165 H 276.8°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #302B94 |
|---|---|
| RGB | rgb(48, 43, 148) |
| HSL | hsl(243, 55%, 37%) |
| HSV | hsv(243, 71%, 58%) |
| CMYK | cmyk(67.6%, 70.9%, 0%, 42%) |
| CIE-LAB | lab(25.24, 35.99, -56.81) |
| CIE-LCH | lch(25.24, 67.26, 302.36°) |
| OKLab | oklab(37.08% 0.0195 -0.164) |
| OKLCH | oklch(37.08% 0.165 276.8) |
| XYZ | xyz(7.4264, 4.4936, 28.4872) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.07
Royal
#0C1793
ΔE00 5.09
Indigo Blue
#3A18B1
ΔE00 5.79
Darkslateblue
#483D8B
ΔE00 6.38
Blueberry
#464196
ΔE00 6.55
Cobalt Blue
#030AA7
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302B94 #8F942B
analogous
#2B5B94 #302B94 #642B94
triadic
#302B94 #94302B #2B9430
tetradic
#302B94 #942B5B #8F942B #2B9464
square
#302B94 #942B5B #8F942B #2B9464
split-complementary
#302B94 #94642B #5B942B
monochromatic
#110F35 #211D65 #302B94 #3F39C3 #6C67D3
Accessibility & contrast
On white
11.06
#302B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#302B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302B94
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302B94 | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #302b94; /* rgb */ color: rgb(48, 43, 148); /* oklch */ color: oklch(37.1% 0.165 276.8);
Tailwind
colors: {
custom: {
50: '#7665b4',
500: '#302b94',
950: '#000000',
},
}SCSS
$custom: #302b94; $custom-light: #7665b4; $custom-dark: #000000;
JSON
{
"hex": "#302b94",
"rgb": {
"r": 48,
"g": 43,
"b": 148
},
"hsl": {
"h": 242.857,
"s": 54.974,
"l": 37.451
},
"oklch": {
"l": 0.37075,
"c": 0.16519,
"h": 276.8
},
"luminance": 0.04494
}Semantic roles & 50–950 ramp
primary
#302B94
secondary
#B5B962
accent
#DE49D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80