#18237F#18237F
#18237F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.153 H 269.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #18237F |
|---|---|
| RGB | rgb(24, 35, 127) |
| HSL | hsl(234, 68%, 30%) |
| HSV | hsv(234, 81%, 50%) |
| CMYK | cmyk(81.1%, 72.4%, 0%, 50.2%) |
| CIE-LAB | lab(19.75, 30.80, -52.77) |
| CIE-LCH | lch(19.75, 61.10, 300.27°) |
| OKLab | oklab(32.08% -0.0015 -0.1528) |
| OKLCH | oklch(32.08% 0.153 269.5) |
| XYZ | xyz(4.8072, 2.9280, 20.3864) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.31
Royal
#0C1793
ΔE00 4.44
Dark Royal Blue
#02066F
ΔE00 6.76
Darkblue
#00008B
ΔE00 7.11
Navy
#000080
ΔE00 7.17
Deep Blue
#040273
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18237F #7F7418
analogous
#18577F #18237F #40187F
triadic
#18237F #7F1823 #237F18
tetradic
#18237F #7F1857 #7F7418 #187F40
square
#18237F #7F1857 #7F7418 #187F40
split-complementary
#18237F #7F4018 #577F18
monochromatic
#05071A #0E154C #18237F #2231B2 #3849D9
Accessibility & contrast
On white
13.24
#18237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#18237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18237F
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18237F | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #18237f; /* rgb */ color: rgb(24, 35, 127); /* oklch */ color: oklch(32.1% 0.153 269.5);
Tailwind
colors: {
custom: {
50: '#695ea5',
500: '#18237f',
950: '#000000',
},
}SCSS
$custom: #18237f; $custom-light: #695ea5; $custom-dark: #000000;
JSON
{
"hex": "#18237f",
"rgb": {
"r": 24,
"g": 35,
"b": 127
},
"hsl": {
"h": 233.592,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.3208,
"c": 0.15285,
"h": 269.5
},
"luminance": 0.02929
}Semantic roles & 50–950 ramp
primary
#18237F
secondary
#B3A73F
accent
#D83DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F