#18328F#18328F
#18328F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.157 H 266.2°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #18328F |
|---|---|
| RGB | rgb(24, 50, 143) |
| HSL | hsl(227, 71%, 33%) |
| HSV | hsv(227, 83%, 56%) |
| CMYK | cmyk(83.2%, 65%, 0%, 43.9%) |
| CIE-LAB | lab(25.13, 26.90, -53.96) |
| CIE-LCH | lch(25.13, 60.29, 296.50°) |
| OKLab | oklab(36.49% -0.0103 -0.1562) |
| OKLCH | oklch(36.49% 0.157 266.2) |
| XYZ | xyz(6.4735, 4.4578, 26.5005) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.33
Blueberry
#464196
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 7.14
Royal
#0C1793
ΔE00 7.33
Darkish Blue
#014182
ΔE00 7.39
Cobalt
#0047AB
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18328F #8F7518
analogous
#186D8F #18328F #3A188F
triadic
#18328F #8F1832 #328F18
tetradic
#18328F #8F186D #8F7518 #188F3A
square
#18328F #8F186D #8F7518 #188F3A
split-complementary
#18328F #8F3A18 #6D8F18
monochromatic
#060D26 #0F205B #18328F #2144C3 #4264DF
Accessibility & contrast
On white
11.10
#18328F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#18328F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18328F
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18328F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18328F | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #18328f; /* rgb */ color: rgb(24, 50, 143); /* oklch */ color: oklch(36.5% 0.157 266.2);
Tailwind
colors: {
custom: {
50: '#6c69b1',
500: '#18328f',
950: '#000000',
},
}SCSS
$custom: #18328f; $custom-light: #6c69b1; $custom-dark: #000000;
JSON
{
"hex": "#18328f",
"rgb": {
"r": 24,
"g": 50,
"b": 143
},
"hsl": {
"h": 226.891,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.36491,
"c": 0.15654,
"h": 266.2
},
"luminance": 0.04459
}Semantic roles & 50–950 ramp
primary
#18328F
secondary
#C0A543
accent
#C73AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80