#18368F#18368F
#18368F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.152 H 265.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #18368F |
|---|---|
| RGB | rgb(24, 54, 143) |
| HSL | hsl(225, 71%, 33%) |
| HSV | hsv(225, 83%, 56%) |
| CMYK | cmyk(83.2%, 62.2%, 0%, 43.9%) |
| CIE-LAB | lab(26.20, 24.15, -52.20) |
| CIE-LCH | lch(26.20, 57.52, 294.83°) |
| OKLab | oklab(37.29% -0.0126 -0.151) |
| OKLCH | oklch(37.29% 0.152 265.2) |
| XYZ | xyz(6.6520, 4.8149, 26.5601) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.36
Darkish Blue
#014182
ΔE00 6.14
Cobalt (survey)
#1E488F
ΔE00 6.25
Cobalt
#0047AB
ΔE00 6.41
Blueberry
#464196
ΔE00 6.46
Marine Blue
#01386A
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18368F #8F7118
analogous
#18718F #18368F #36188F
triadic
#18368F #8F1836 #368F18
tetradic
#18368F #8F1871 #8F7118 #188F36
square
#18368F #8F1871 #8F7118 #188F36
split-complementary
#18368F #8F3618 #718F18
monochromatic
#060E26 #0F225B #18368F #214AC3 #426ADF
Accessibility & contrast
On white
10.70
#18368F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#18368F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18368F
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18368F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18368F | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #18368f; /* rgb */ color: rgb(24, 54, 143); /* oklch */ color: oklch(37.3% 0.152 265.2);
Tailwind
colors: {
custom: {
50: '#6b6cb1',
500: '#18368f',
950: '#000000',
},
}SCSS
$custom: #18368f; $custom-light: #6b6cb1; $custom-dark: #000000;
JSON
{
"hex": "#18368f",
"rgb": {
"r": 24,
"g": 54,
"b": 143
},
"hsl": {
"h": 224.874,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.37285,
"c": 0.15155,
"h": 265.2
},
"luminance": 0.04816
}Semantic roles & 50–950 ramp
primary
#18368F
secondary
#C0A043
accent
#C13AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80