#18237B#18237B
#18237B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.147 H 269.6°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #18237B |
|---|---|
| RGB | rgb(24, 35, 123) |
| HSL | hsl(233, 67%, 29%) |
| HSV | hsv(233, 80%, 48%) |
| CMYK | cmyk(80.5%, 71.5%, 0%, 51.8%) |
| CIE-LAB | lab(19.33, 29.28, -50.92) |
| CIE-LCH | lch(19.33, 58.74, 299.89°) |
| OKLab | oklab(31.65% -0.001 -0.1474) |
| OKLCH | oklch(31.65% 0.147 269.6) |
| XYZ | xyz(4.5516, 2.8258, 19.0406) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.05
Royal
#0C1793
ΔE00 5.00
Dark Royal Blue
#02066F
ΔE00 6.74
Darkblue (survey)
#030764
ΔE00 7.15
Deep Blue
#040273
ΔE00 7.30
Navy
#000080
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18237B #7B7018
analogous
#18557B #18237B #3F187B
triadic
#18237B #7B1823 #237B18
tetradic
#18237B #7B1855 #7B7018 #187B3F
square
#18237B #7B1855 #7B7018 #187B3F
split-complementary
#18237B #7B3F18 #557B18
monochromatic
#05071A #0E1448 #18237B #2232AE #3648D8
Accessibility & contrast
On white
13.42
#18237B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#18237B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18237B
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18237B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18237B | 1.00 | 13.42 | 1.57 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #18237b; /* rgb */ color: rgb(24, 35, 123); /* oklch */ color: oklch(31.6% 0.147 269.6);
Tailwind
colors: {
custom: {
50: '#685ea2',
500: '#18237b',
950: '#000000',
},
}SCSS
$custom: #18237b; $custom-light: #685ea2; $custom-dark: #000000;
JSON
{
"hex": "#18237b",
"rgb": {
"r": 24,
"g": 35,
"b": 123
},
"hsl": {
"h": 233.333,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.31648,
"c": 0.14744,
"h": 269.6
},
"luminance": 0.02826
}Semantic roles & 50–950 ramp
primary
#18237B
secondary
#B0A33F
accent
#D73EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F