#18348C#18348C
#18348C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.150 H 265.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #18348C |
|---|---|
| RGB | rgb(24, 52, 140) |
| HSL | hsl(226, 71%, 32%) |
| HSV | hsv(226, 83%, 55%) |
| CMYK | cmyk(82.9%, 62.9%, 0%, 45.1%) |
| CIE-LAB | lab(25.39, 24.33, -51.67) |
| CIE-LCH | lch(25.39, 57.11, 295.22°) |
| OKLab | oklab(36.6% -0.0114 -0.1495) |
| OKLCH | oklch(36.6% 0.15 265.6) |
| XYZ | xyz(6.3366, 4.5429, 25.3488) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.75
Darkish Blue
#014182
ΔE00 6.53
Blueberry
#464196
ΔE00 6.69
Cobalt (survey)
#1E488F
ΔE00 6.84
Marine Blue
#01386A
ΔE00 7.08
Cobalt
#0047AB
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18348C #8C7018
analogous
#186E8C #18348C #36188C
triadic
#18348C #8C1834 #348C18
tetradic
#18348C #8C186E #8C7018 #188C36
square
#18348C #8C186E #8C7018 #188C36
split-complementary
#18348C #8C3618 #6E8C18
monochromatic
#060D24 #0F2158 #18348C #2147C0 #4066DE
Accessibility & contrast
On white
11.00
#18348C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#18348C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18348C
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18348C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18348C | 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)
#00428F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #18348c; /* rgb */ color: rgb(24, 52, 140); /* oklch */ color: oklch(36.6% 0.150 265.6);
Tailwind
colors: {
custom: {
50: '#6b6bae',
500: '#18348c',
950: '#000000',
},
}SCSS
$custom: #18348c; $custom-light: #6b6bae; $custom-dark: #000000;
JSON
{
"hex": "#18348c",
"rgb": {
"r": 24,
"g": 52,
"b": 140
},
"hsl": {
"h": 225.517,
"s": 70.732,
"l": 32.157
},
"oklch": {
"l": 0.36599,
"c": 0.14993,
"h": 265.6
},
"luminance": 0.04544
}Semantic roles & 50–950 ramp
primary
#18348C
secondary
#BFA041
accent
#C23AED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F