#18349F#18349F
#18349F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.175 H 266.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #18349F |
|---|---|
| RGB | rgb(24, 52, 159) |
| HSL | hsl(228, 74%, 36%) |
| HSV | hsv(228, 85%, 62%) |
| CMYK | cmyk(84.9%, 67.3%, 0%, 37.6%) |
| CIE-LAB | lab(27.16, 31.79, -60.43) |
| CIE-LCH | lch(27.16, 68.28, 297.75°) |
| OKLab | oklab(38.45% -0.0118 -0.1751) |
| OKLCH | oklch(38.45% 0.176 266.1) |
| XYZ | xyz(7.8605, 5.1524, 33.3744) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.08
Blueberry
#464196
ΔE00 6.37
Blue Blue
#2242C7
ΔE00 6.57
Cobalt
#0047AB
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 7.37
Royal
#0C1793
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18349F #9F8318
analogous
#18779F #18349F #40189F
triadic
#18349F #9F1834 #349F18
tetradic
#18349F #9F1877 #9F8318 #189F40
square
#18349F #9F1877 #9F8318 #189F40
split-complementary
#18349F #9F4018 #779F18
monochromatic
#081135 #10236A #18349F #2045D4 #4D6DE4
Accessibility & contrast
On white
10.34
#18349F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#18349F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18349F
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18349F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18349F | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #18349f; /* rgb */ color: rgb(24, 52, 159); /* oklch */ color: oklch(38.5% 0.175 266.1);
Tailwind
colors: {
custom: {
50: '#706bbc',
500: '#18349f',
950: '#000000',
},
}SCSS
$custom: #18349f; $custom-light: #706bbc; $custom-dark: #000000;
JSON
{
"hex": "#18349f",
"rgb": {
"r": 24,
"g": 52,
"b": 159
},
"hsl": {
"h": 227.556,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.38452,
"c": 0.1755,
"h": 266.1
},
"luminance": 0.05153
}Semantic roles & 50–950 ramp
primary
#18349F
secondary
#C6AD4D
accent
#CA37F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81