#18348E#18348E
#18348E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.153 H 265.7°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #18348E |
|---|---|
| RGB | rgb(24, 52, 142) |
| HSL | hsl(226, 71%, 33%) |
| HSV | hsv(226, 83%, 56%) |
| CMYK | cmyk(83.1%, 63.4%, 0%, 44.3%) |
| CIE-LAB | lab(25.57, 25.13, -52.62) |
| CIE-LCH | lch(25.57, 58.31, 295.53°) |
| OKLab | oklab(36.79% -0.0114 -0.1523) |
| OKLCH | oklch(36.79% 0.153 265.7) |
| XYZ | xyz(6.4854, 4.6024, 26.1325) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Blueberry
#464196
ΔE00 6.60
Darkish Blue
#014182
ΔE00 6.68
Cobalt (survey)
#1E488F
ΔE00 6.90
Cobalt
#0047AB
ΔE00 7.01
Darkslateblue
#483D8B
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18348E #8E7218
analogous
#186F8E #18348E #37188E
triadic
#18348E #8E1834 #348E18
tetradic
#18348E #8E186F #8E7218 #188E37
square
#18348E #8E186F #8E7218 #188E37
split-complementary
#18348E #8E3718 #6F8E18
monochromatic
#060E25 #0F215A #18348E #2147C2 #4167DF
Accessibility & contrast
On white
10.93
#18348E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#18348E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18348E
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18348E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18348E | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #18348e; /* rgb */ color: rgb(24, 52, 142); /* oklch */ color: oklch(36.8% 0.153 265.7);
Tailwind
colors: {
custom: {
50: '#6b6bb0',
500: '#18348e',
950: '#000000',
},
}SCSS
$custom: #18348e; $custom-light: #6b6bb0; $custom-dark: #000000;
JSON
{
"hex": "#18348e",
"rgb": {
"r": 24,
"g": 52,
"b": 142
},
"hsl": {
"h": 225.763,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.36789,
"c": 0.15269,
"h": 265.7
},
"luminance": 0.04603
}Semantic roles & 50–950 ramp
primary
#18348E
secondary
#C0A242
accent
#C33AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80