#18338F#18338F
#18338F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.155 H 266.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #18338F |
|---|---|
| RGB | rgb(24, 51, 143) |
| HSL | hsl(226, 71%, 33%) |
| HSV | hsv(226, 83%, 56%) |
| CMYK | cmyk(83.2%, 64.3%, 0%, 43.9%) |
| CIE-LAB | lab(25.39, 26.22, -53.52) |
| CIE-LCH | lch(25.39, 59.60, 296.10°) |
| OKLab | oklab(36.69% -0.0109 -0.1549) |
| OKLCH | oklch(36.69% 0.155 266) |
| XYZ | xyz(6.5167, 4.5442, 26.5149) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.30
Blueberry
#464196
ΔE00 6.63
Darkish Blue
#014182
ΔE00 7.08
Darkslateblue
#483D8B
ΔE00 7.11
Cobalt
#0047AB
ΔE00 7.24
Cobalt (survey)
#1E488F
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18338F #8F7418
analogous
#186E8F #18338F #39188F
triadic
#18338F #8F1833 #338F18
tetradic
#18338F #8F186E #8F7418 #188F39
square
#18338F #8F186E #8F7418 #188F39
split-complementary
#18338F #8F3918 #6E8F18
monochromatic
#060E26 #0F205B #18338F #2146C3 #4266DF
Accessibility & contrast
On white
11.00
#18338F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#18338F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18338F
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18338F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18338F | 1.00 | 11.00 | 1.91 | 11.00 |
| #FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #18338f; /* rgb */ color: rgb(24, 51, 143); /* oklch */ color: oklch(36.7% 0.155 266.0);
Tailwind
colors: {
custom: {
50: '#6c6ab1',
500: '#18338f',
950: '#000000',
},
}SCSS
$custom: #18338f; $custom-light: #6c6ab1; $custom-dark: #000000;
JSON
{
"hex": "#18338f",
"rgb": {
"r": 24,
"g": 51,
"b": 143
},
"hsl": {
"h": 226.387,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.36687,
"c": 0.1553,
"h": 266
},
"luminance": 0.04545
}Semantic roles & 50–950 ramp
primary
#18338F
secondary
#C0A443
accent
#C53AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80