#30237E#30237E
#30237E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.146 H 281.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #30237E |
|---|---|
| RGB | rgb(48, 35, 126) |
| HSL | hsl(249, 57%, 32%) |
| HSV | hsv(249, 72%, 49%) |
| CMYK | cmyk(61.9%, 72.2%, 0%, 50.6%) |
| CIE-LAB | lab(21.34, 33.42, -49.46) |
| CIE-LCH | lch(21.34, 59.69, 304.04°) |
| OKLab | oklab(33.63% 0.0295 -0.1425) |
| OKLCH | oklch(33.63% 0.146 281.7) |
| XYZ | xyz(5.5847, 3.3364, 20.0843) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.87
Royal
#0C1793
ΔE00 5.11
Indigo (survey)
#380282
ΔE00 6.04
Dark Royal Blue
#02066F
ΔE00 7.17
Darkblue
#00008B
ΔE00 7.34
Indigo
#4B0082
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30237E #717E23
analogous
#23447E #30237E #5E237E
triadic
#30237E #7E3023 #237E30
tetradic
#30237E #7E2344 #717E23 #237E5E
square
#30237E #7E2344 #717E23 #237E5E
split-complementary
#30237E #7E5E23 #447E23
monochromatic
#0C081E #1E164E #30237E #4230AE #604ECE
Accessibility & contrast
On white
12.59
#30237E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#30237E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30237E
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30237E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30237E | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #30237e; /* rgb */ color: rgb(48, 35, 126); /* oklch */ color: oklch(33.6% 0.146 281.7);
Tailwind
colors: {
custom: {
50: '#725fa4',
500: '#30237e',
950: '#000000',
},
}SCSS
$custom: #30237e; $custom-light: #725fa4; $custom-dark: #000000;
JSON
{
"hex": "#30237e",
"rgb": {
"r": 48,
"g": 35,
"b": 126
},
"hsl": {
"h": 248.571,
"s": 56.522,
"l": 31.569
},
"oklch": {
"l": 0.33632,
"c": 0.14553,
"h": 281.7
},
"luminance": 0.03337
}Semantic roles & 50–950 ramp
primary
#30237E
secondary
#A2B04C
accent
#E048CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F