#18368E#18368E
#18368E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.150 H 265.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #18368E |
|---|---|
| RGB | rgb(24, 54, 142) |
| HSL | hsl(225, 71%, 33%) |
| HSV | hsv(225, 83%, 56%) |
| CMYK | cmyk(83.1%, 62%, 0%, 44.3%) |
| CIE-LAB | lab(26.11, 23.75, -51.73) |
| CIE-LCH | lch(26.11, 56.92, 294.66°) |
| OKLab | oklab(37.19% -0.0126 -0.1496) |
| OKLCH | oklch(37.19% 0.15 265.2) |
| XYZ | xyz(6.5766, 4.7847, 26.1629) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.51
Darkish Blue
#014182
ΔE00 6.05
Cobalt (survey)
#1E488F
ΔE00 6.22
Cobalt
#0047AB
ΔE00 6.47
Blueberry
#464196
ΔE00 6.51
Marine Blue
#01386A
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18368E #8E7018
analogous
#18718E #18368E #35188E
triadic
#18368E #8E1836 #368E18
tetradic
#18368E #8E1871 #8E7018 #188E35
square
#18368E #8E1871 #8E7018 #188E35
split-complementary
#18368E #8E3518 #718E18
monochromatic
#060E25 #0F225A #18368E #214AC2 #4169DF
Accessibility & contrast
On white
10.73
#18368E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#18368E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18368E
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18368E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18368E | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #18368e; /* rgb */ color: rgb(24, 54, 142); /* oklch */ color: oklch(37.2% 0.150 265.2);
Tailwind
colors: {
custom: {
50: '#6b6cb0',
500: '#18368e',
950: '#000000',
},
}SCSS
$custom: #18368e; $custom-light: #6b6cb0; $custom-dark: #000000;
JSON
{
"hex": "#18368e",
"rgb": {
"r": 24,
"g": 54,
"b": 142
},
"hsl": {
"h": 224.746,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.37192,
"c": 0.15016,
"h": 265.2
},
"luminance": 0.04786
}Semantic roles & 50–950 ramp
primary
#18368E
secondary
#C0A042
accent
#C03AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80