#18328E#18328E
#18328E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.155 H 266.2°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #18328E |
|---|---|
| RGB | rgb(24, 50, 142) |
| HSL | hsl(227, 71%, 33%) |
| HSV | hsv(227, 83%, 56%) |
| CMYK | cmyk(83.1%, 64.8%, 0%, 44.3%) |
| CIE-LAB | lab(25.04, 26.51, -53.49) |
| CIE-LCH | lch(25.04, 59.70, 296.36°) |
| OKLab | oklab(36.39% -0.0103 -0.1548) |
| OKLCH | oklch(36.39% 0.155 266.2) |
| XYZ | xyz(6.3981, 4.4276, 26.1034) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.47
Blueberry
#464196
ΔE00 6.76
Darkslateblue
#483D8B
ΔE00 7.14
Darkish Blue
#014182
ΔE00 7.32
Royal
#0C1793
ΔE00 7.39
Cobalt
#0047AB
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18328E #8E7418
analogous
#186D8E #18328E #39188E
triadic
#18328E #8E1832 #328E18
tetradic
#18328E #8E186D #8E7418 #188E39
square
#18328E #8E186D #8E7418 #188E39
split-complementary
#18328E #8E3918 #6D8E18
monochromatic
#060D25 #0F205A #18328E #2144C2 #4164DF
Accessibility & contrast
On white
11.14
#18328E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#18328E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18328E
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18328E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18328E | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #18328e; /* rgb */ color: rgb(24, 50, 142); /* oklch */ color: oklch(36.4% 0.155 266.2);
Tailwind
colors: {
custom: {
50: '#6b69b0',
500: '#18328e',
950: '#000000',
},
}SCSS
$custom: #18328e; $custom-light: #6b69b0; $custom-dark: #000000;
JSON
{
"hex": "#18328e",
"rgb": {
"r": 24,
"g": 50,
"b": 142
},
"hsl": {
"h": 226.78,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.36394,
"c": 0.15518,
"h": 266.2
},
"luminance": 0.04428
}Semantic roles & 50–950 ramp
primary
#18328E
secondary
#C0A442
accent
#C63AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80