#302F90#302F90
#302F90 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.155 H 276.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #302F90 |
|---|---|
| RGB | rgb(48, 47, 144) |
| HSL | hsl(241, 51%, 37%) |
| HSV | hsv(241, 67%, 56%) |
| CMYK | cmyk(66.7%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(25.79, 32.11, -53.45) |
| CIE-LCH | lch(25.79, 62.35, 301.00°) |
| OKLab | oklab(37.35% 0.017 -0.1542) |
| OKLCH | oklch(37.35% 0.155 276.3) |
| XYZ | xyz(7.2678, 4.6744, 26.8994) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.77
Darkslateblue
#483D8B
ΔE00 5.44
Blueberry
#464196
ΔE00 5.61
Royal
#0C1793
ΔE00 6.16
Indigo Blue
#3A18B1
ΔE00 7.09
Midnight Blue
#191970
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302F90 #8F902F
analogous
#2F5E90 #302F90 #612F90
triadic
#302F90 #90302F #2F9030
tetradic
#302F90 #902F5E #8F902F #2F9061
square
#302F90 #902F5E #8F902F #2F9061
split-complementary
#302F90 #90612F #5E902F
monochromatic
#111134 #212062 #302F90 #3F3EBE #6C6BCF
Accessibility & contrast
On white
10.85
#302F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#302F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302F90
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302F90 | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #302f90; /* rgb */ color: rgb(48, 47, 144); /* oklch */ color: oklch(37.4% 0.155 276.3);
Tailwind
colors: {
custom: {
50: '#7568b1',
500: '#302f90',
950: '#000000',
},
}SCSS
$custom: #302f90; $custom-light: #7568b1; $custom-dark: #000000;
JSON
{
"hex": "#302f90",
"rgb": {
"r": 48,
"g": 47,
"b": 144
},
"hsl": {
"h": 240.619,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.37354,
"c": 0.15512,
"h": 276.3
},
"luminance": 0.04675
}Semantic roles & 50–950 ramp
primary
#302F90
secondary
#B5B665
accent
#DA4ED9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80