#18338E#18338E
#18338E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.154 H 266.0°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #18338E |
|---|---|
| RGB | rgb(24, 51, 142) |
| HSL | hsl(226, 71%, 33%) |
| HSV | hsv(226, 83%, 56%) |
| CMYK | cmyk(83.1%, 64.1%, 0%, 44.3%) |
| CIE-LAB | lab(25.30, 25.82, -53.05) |
| CIE-LCH | lch(25.30, 59.00, 295.95°) |
| OKLab | oklab(36.59% -0.0109 -0.1535) |
| OKLCH | oklch(36.59% 0.154 266) |
| XYZ | xyz(6.4413, 4.5141, 26.1178) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.45
Blueberry
#464196
ΔE00 6.67
Darkish Blue
#014182
ΔE00 7.00
Darkslateblue
#483D8B
ΔE00 7.11
Cobalt (survey)
#1E488F
ΔE00 7.24
Cobalt
#0047AB
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18338E #8E7318
analogous
#186E8E #18338E #38188E
triadic
#18338E #8E1833 #338E18
tetradic
#18338E #8E186E #8E7318 #188E38
square
#18338E #8E186E #8E7318 #188E38
split-complementary
#18338E #8E3818 #6E8E18
monochromatic
#060D25 #0F205A #18338E #2146C2 #4165DF
Accessibility & contrast
On white
11.04
#18338E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#18338E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18338E
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18338E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18338E | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #18338e; /* rgb */ color: rgb(24, 51, 142); /* oklch */ color: oklch(36.6% 0.154 266.0);
Tailwind
colors: {
custom: {
50: '#6b6ab0',
500: '#18338e',
950: '#000000',
},
}SCSS
$custom: #18338e; $custom-light: #6b6ab0; $custom-dark: #000000;
JSON
{
"hex": "#18338e",
"rgb": {
"r": 24,
"g": 51,
"b": 142
},
"hsl": {
"h": 226.271,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.3659,
"c": 0.15393,
"h": 266
},
"luminance": 0.04515
}Semantic roles & 50–950 ramp
primary
#18338E
secondary
#C0A342
accent
#C53AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80