#302C8D#302C8D
#302C8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.155 H 277.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #302C8D |
|---|---|
| RGB | rgb(48, 44, 141) |
| HSL | hsl(242, 52%, 36%) |
| HSV | hsv(242, 69%, 55%) |
| CMYK | cmyk(66%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(24.80, 32.96, -53.20) |
| CIE-LCH | lch(24.80, 62.58, 301.78°) |
| OKLab | oklab(36.56% 0.0197 -0.1535) |
| OKLCH | oklch(36.56% 0.155 277.3) |
| XYZ | xyz(6.9258, 4.3523, 25.6692) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.54
Sapphire (survey)
#2138AB
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 5.87
Blueberry
#464196
ΔE00 6.31
Midnight Blue
#191970
ΔE00 6.35
Indigo Blue
#3A18B1
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C8D #898D2C
analogous
#2C598D #302C8D #612C8D
triadic
#302C8D #8D302C #2C8D30
tetradic
#302C8D #8D2C59 #898D2C #2C8D61
square
#302C8D #8D2C59 #898D2C #2C8D61
split-complementary
#302C8D #8D612C #598D2C
monochromatic
#100F30 #201D5E #302C8D #403BBC #6965CF
Accessibility & contrast
On white
11.23
#302C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#302C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C8D
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C8D | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #302c8d; /* rgb */ color: rgb(48, 44, 141); /* oklch */ color: oklch(36.6% 0.155 277.3);
Tailwind
colors: {
custom: {
50: '#7566af',
500: '#302c8d',
950: '#000000',
},
}SCSS
$custom: #302c8d; $custom-light: #7566af; $custom-dark: #000000;
JSON
{
"hex": "#302c8d",
"rgb": {
"r": 48,
"g": 44,
"b": 141
},
"hsl": {
"h": 242.474,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.36557,
"c": 0.15473,
"h": 277.3
},
"luminance": 0.04353
}Semantic roles & 50–950 ramp
primary
#302C8D
secondary
#B2B560
accent
#DC4CD6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090610
muted
#7B7A7F