#302C9B#302C9B
#302C9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.173 H 275.9°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #302C9B |
|---|---|
| RGB | rgb(48, 44, 155) |
| HSL | hsl(242, 56%, 39%) |
| HSV | hsv(242, 72%, 61%) |
| CMYK | cmyk(69%, 71.6%, 0%, 39.2%) |
| CIE-LAB | lab(26.14, 37.78, -59.62) |
| CIE-LCH | lch(26.14, 70.58, 302.36°) |
| OKLab | oklab(37.93% 0.0177 -0.1722) |
| OKLCH | oklch(37.93% 0.173 275.9) |
| XYZ | xyz(8.0341, 4.7956, 31.5062) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.35
Indigo Blue
#3A18B1
ΔE00 5.22
Royal
#0C1793
ΔE00 5.34
Blueberry
#464196
ΔE00 6.46
Darkslateblue
#483D8B
ΔE00 6.62
Cobalt Blue
#030AA7
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C9B #979B2C
analogous
#2C609B #302C9B #682C9B
triadic
#302C9B #9B302C #2C9B30
tetradic
#302C9B #9B2C60 #979B2C #2C9B68
square
#302C9B #9B2C60 #979B2C #2C9B68
split-complementary
#302C9B #9B682C #609B2C
monochromatic
#12113C #211E6B #302C9B #413CC8 #706CD5
Accessibility & contrast
On white
10.72
#302C9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#302C9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C9B
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C9B | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #302c9b; /* rgb */ color: rgb(48, 44, 155); /* oklch */ color: oklch(37.9% 0.173 275.9);
Tailwind
colors: {
custom: {
50: '#7866ba',
500: '#302c9b',
950: '#000000',
},
}SCSS
$custom: #302c9b; $custom-light: #7866ba; $custom-dark: #000000;
JSON
{
"hex": "#302c9b",
"rgb": {
"r": 48,
"g": 44,
"b": 155
},
"hsl": {
"h": 242.162,
"s": 55.779,
"l": 39.02
},
"oklch": {
"l": 0.3793,
"c": 0.17315,
"h": 275.9
},
"luminance": 0.04796
}Semantic roles & 50–950 ramp
primary
#302C9B
secondary
#B9BC67
accent
#DF49DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81