#20237C#20237C
#20237C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.147 H 273.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #20237C |
|---|---|
| RGB | rgb(32, 35, 124) |
| HSL | hsl(238, 59%, 31%) |
| HSV | hsv(238, 74%, 49%) |
| CMYK | cmyk(74.2%, 71.8%, 0%, 51.4%) |
| CIE-LAB | lab(19.90, 30.51, -50.61) |
| CIE-LCH | lch(19.90, 59.10, 301.08°) |
| OKLab | oklab(32.21% 0.008 -0.1463) |
| OKLCH | oklch(32.21% 0.147 273.1) |
| XYZ | xyz(4.8336, 2.9639, 19.3822) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.96
Royal
#0C1793
ΔE00 4.79
Dark Royal Blue
#02066F
ΔE00 6.69
Darkblue (survey)
#030764
ΔE00 7.16
Deep Blue
#040273
ΔE00 7.18
Navy
#000080
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20237C #7C7920
analogous
#20517C #20237C #4B207C
triadic
#20237C #7C2023 #237C20
tetradic
#20237C #7C2051 #7C7920 #207C4B
square
#20237C #7C2051 #7C7920 #207C4B
split-complementary
#20237C #7C4B20 #517C20
monochromatic
#07081B #13154B #20237C #2D31AD #474BCF
Accessibility & contrast
On white
13.18
#20237C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#20237C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20237C
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20237C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20237C | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #20237c; /* rgb */ color: rgb(32, 35, 124); /* oklch */ color: oklch(32.2% 0.147 273.1);
Tailwind
colors: {
custom: {
50: '#6b5ea3',
500: '#20237c',
950: '#000000',
},
}SCSS
$custom: #20237c; $custom-light: #6b5ea3; $custom-dark: #000000;
JSON
{
"hex": "#20237c",
"rgb": {
"r": 32,
"g": 35,
"b": 124
},
"hsl": {
"h": 238.043,
"s": 58.974,
"l": 30.588
},
"oklch": {
"l": 0.32214,
"c": 0.14656,
"h": 273.1
},
"luminance": 0.02964
}Semantic roles & 50–950 ramp
primary
#20237C
secondary
#AFAC49
accent
#DD46E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F