#30237C#30237C
#30237C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.143 H 282.1°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #30237C |
|---|---|
| RGB | rgb(48, 35, 124) |
| HSL | hsl(249, 56%, 31%) |
| HSV | hsv(249, 72%, 49%) |
| CMYK | cmyk(61.3%, 71.8%, 0%, 51.4%) |
| CIE-LAB | lab(21.15, 32.75, -48.51) |
| CIE-LCH | lch(21.15, 58.53, 304.03°) |
| OKLab | oklab(33.44% 0.0299 -0.1397) |
| OKLCH | oklch(33.44% 0.143 282.1) |
| XYZ | xyz(5.4569, 3.2853, 19.4114) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.75
Royal
#0C1793
ΔE00 5.37
Indigo (survey)
#380282
ΔE00 6.14
Dark Royal Blue
#02066F
ΔE00 7.15
Indigo
#4B0082
ΔE00 7.44
Deep Blue
#040273
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30237C #6F7C23
analogous
#23427C #30237C #5C237C
triadic
#30237C #7C3023 #237C30
tetradic
#30237C #7C2342 #6F7C23 #237C5C
square
#30237C #7C2342 #6F7C23 #237C5C
split-complementary
#30237C #7C5C23 #427C23
monochromatic
#0B081D #1E164C #30237C #4230AC #5F4DCD
Accessibility & contrast
On white
12.67
#30237C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#30237C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30237C
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30237C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30237C | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #30237c; /* rgb */ color: rgb(48, 35, 124); /* oklch */ color: oklch(33.4% 0.143 282.1);
Tailwind
colors: {
custom: {
50: '#725fa3',
500: '#30237c',
950: '#000000',
},
}SCSS
$custom: #30237c; $custom-light: #725fa3; $custom-dark: #000000;
JSON
{
"hex": "#30237c",
"rgb": {
"r": 48,
"g": 35,
"b": 124
},
"hsl": {
"h": 248.764,
"s": 55.975,
"l": 31.176
},
"oklch": {
"l": 0.33436,
"c": 0.14286,
"h": 282.1
},
"luminance": 0.03286
}Semantic roles & 50–950 ramp
primary
#30237C
secondary
#A0AF4C
accent
#DF49C9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F