#18319F#18319F
#18319F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.179 H 266.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #18319F |
|---|---|
| RGB | rgb(24, 49, 159) |
| HSL | hsl(229, 74%, 36%) |
| HSV | hsv(229, 85%, 62%) |
| CMYK | cmyk(84.9%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.43, 33.76, -61.64) |
| CIE-LCH | lch(26.43, 70.28, 298.71°) |
| OKLab | oklab(37.91% -0.0105 -0.1786) |
| OKLCH | oklch(37.91% 0.179 266.6) |
| XYZ | xyz(7.7308, 4.8931, 33.3312) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.51
Royal
#0C1793
ΔE00 6.56
Blueberry
#464196
ΔE00 6.75
Blue Blue
#2242C7
ΔE00 7.03
Indigo Blue
#3A18B1
ΔE00 7.33
Cobalt
#0047AB
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18319F #9F8618
analogous
#18749F #18319F #42189F
triadic
#18319F #9F1831 #319F18
tetradic
#18319F #9F1874 #9F8618 #189F42
square
#18319F #9F1874 #9F8618 #189F42
split-complementary
#18319F #9F4218 #749F18
monochromatic
#081035 #10216A #18319F #2041D4 #4D69E4
Accessibility & contrast
On white
10.61
#18319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#18319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18319F
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18319F | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #18319f; /* rgb */ color: rgb(24, 49, 159); /* oklch */ color: oklch(37.9% 0.179 266.6);
Tailwind
colors: {
custom: {
50: '#7069bc',
500: '#18319f',
950: '#000000',
},
}SCSS
$custom: #18319f; $custom-light: #7069bc; $custom-dark: #000000;
JSON
{
"hex": "#18319f",
"rgb": {
"r": 24,
"g": 49,
"b": 159
},
"hsl": {
"h": 228.889,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.37914,
"c": 0.17896,
"h": 266.6
},
"luminance": 0.04894
}Semantic roles & 50–950 ramp
primary
#18319F
secondary
#C6B04D
accent
#CE37F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81