#302C8B#302C8B
#302C8B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.152 H 277.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #302C8B |
|---|---|
| RGB | rgb(48, 44, 139) |
| HSL | hsl(243, 52%, 36%) |
| HSV | hsv(243, 68%, 55%) |
| CMYK | cmyk(65.5%, 68.3%, 0%, 45.5%) |
| CIE-LAB | lab(24.62, 32.27, -52.26) |
| CIE-LCH | lch(24.62, 61.42, 301.69°) |
| OKLab | oklab(36.37% 0.02 -0.1507) |
| OKLCH | oklch(36.37% 0.152 277.5) |
| XYZ | xyz(6.7783, 4.2933, 24.8926) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 5.80
Sapphire (survey)
#2138AB
ΔE00 5.80
Midnight Blue
#191970
ΔE00 6.18
Blueberry
#464196
ΔE00 6.33
Indigo Blue
#3A18B1
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302C8B #878B2C
analogous
#2C578B #302C8B #5F2C8B
triadic
#302C8B #8B302C #2C8B30
tetradic
#302C8B #8B2C57 #878B2C #2C8B5F
square
#302C8B #8B2C57 #878B2C #2C8B5F
split-complementary
#302C8B #8B5F2C #578B2C
monochromatic
#100F2E #201D5D #302C8B #403BB9 #6864CE
Accessibility & contrast
On white
11.30
#302C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#302C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302C8B
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302C8B | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #302c8b; /* rgb */ color: rgb(48, 44, 139); /* oklch */ color: oklch(36.4% 0.152 277.5);
Tailwind
colors: {
custom: {
50: '#7466ae',
500: '#302c8b',
950: '#000000',
},
}SCSS
$custom: #302c8b; $custom-light: #7466ae; $custom-dark: #000000;
JSON
{
"hex": "#302c8b",
"rgb": {
"r": 48,
"g": 44,
"b": 139
},
"hsl": {
"h": 242.526,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.36366,
"c": 0.15203,
"h": 277.5
},
"luminance": 0.04294
}Semantic roles & 50–950 ramp
primary
#302C8B
secondary
#B1B45F
accent
#DB4CD5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F