#302C8F#302C8F
#302C8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.157 H 277.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #302C8F |
|---|---|
| RGB | rgb(48, 44, 143) |
| HSL | hsl(242, 53%, 37%) |
| HSV | hsv(242, 69%, 56%) |
| CMYK | cmyk(66.4%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(24.99, 33.66, -54.13) |
| CIE-LCH | lch(24.99, 63.74, 301.87°) |
| OKLab | oklab(36.75% 0.0195 -0.1562) |
| OKLCH | oklch(36.75% 0.157 277.1) |
| XYZ | xyz(7.0759, 4.4123, 26.4600) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.36
Royal
#0C1793
ΔE00 5.45
Darkslateblue
#483D8B
ΔE00 5.95
Blueberry
#464196
ΔE00 6.30
Midnight Blue
#191970
ΔE00 6.54
Indigo Blue
#3A18B1
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C8F #8B8F2C
analogous
#2C5A8F #302C8F #622C8F
triadic
#302C8F #8F302C #2C8F30
tetradic
#302C8F #8F2C5A #8B8F2C #2C8F62
square
#302C8F #8F2C5A #8B8F2C #2C8F62
split-complementary
#302C8F #8F622C #5A8F2C
monochromatic
#110F31 #201E60 #302C8F #403ABE #6A66D0
Accessibility & contrast
On white
11.15
#302C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#302C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C8F
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C8F | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #302c8f; /* rgb */ color: rgb(48, 44, 143); /* oklch */ color: oklch(36.7% 0.157 277.1);
Tailwind
colors: {
custom: {
50: '#7566b1',
500: '#302c8f',
950: '#000000',
},
}SCSS
$custom: #302c8f; $custom-light: #7566b1; $custom-dark: #000000;
JSON
{
"hex": "#302c8f",
"rgb": {
"r": 48,
"g": 44,
"b": 143
},
"hsl": {
"h": 242.424,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.36749,
"c": 0.15741,
"h": 277.1
},
"luminance": 0.04413
}Semantic roles & 50–950 ramp
primary
#302C8F
secondary
#B3B661
accent
#DC4BD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80