#302D9F#302D9F
#302D9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.177 H 275.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #302D9F |
|---|---|
| RGB | rgb(48, 45, 159) |
| HSL | hsl(242, 56%, 40%) |
| HSV | hsv(242, 72%, 62%) |
| CMYK | cmyk(69.8%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(26.76, 38.54, -61.05) |
| CIE-LCH | lch(26.76, 72.20, 302.26°) |
| OKLab | oklab(38.49% 0.0164 -0.1764) |
| OKLCH | oklch(38.49% 0.177 275.3) |
| XYZ | xyz(8.4133, 5.0076, 33.3173) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.91
Indigo Blue
#3A18B1
ΔE00 5.07
Royal
#0C1793
ΔE00 5.67
Blueberry
#464196
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.73
Cobalt Blue
#030AA7
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302D9F #9C9F2D
analogous
#2D639F #302D9F #692D9F
triadic
#302D9F #9F302D #2D9F30
tetradic
#302D9F #9F2D63 #9C9F2D #2D9F69
square
#302D9F #9F2D63 #9C9F2D #2D9F69
split-complementary
#302D9F #9F692D #639F2D
monochromatic
#131240 #22206F #302D9F #4440C9 #7370D6
Accessibility & contrast
On white
10.49
#302D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#302D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302D9F
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302D9F | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #302d9f; /* rgb */ color: rgb(48, 45, 159); /* oklch */ color: oklch(38.5% 0.177 275.3);
Tailwind
colors: {
custom: {
50: '#7867bc',
500: '#302d9f',
950: '#000000',
},
}SCSS
$custom: #302d9f; $custom-light: #7867bc; $custom-dark: #000000;
JSON
{
"hex": "#302d9f",
"rgb": {
"r": 48,
"g": 45,
"b": 159
},
"hsl": {
"h": 241.579,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.38488,
"c": 0.1772,
"h": 275.3
},
"luminance": 0.05008
}Semantic roles & 50–950 ramp
primary
#302D9F
secondary
#BCBE6A
accent
#DF49DB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81