#18339F#18339F
#18339F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.177 H 266.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #18339F |
|---|---|
| RGB | rgb(24, 51, 159) |
| HSL | hsl(228, 74%, 36%) |
| HSV | hsv(228, 85%, 62%) |
| CMYK | cmyk(84.9%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(26.92, 32.45, -60.84) |
| CIE-LCH | lch(26.92, 68.95, 298.07°) |
| OKLab | oklab(38.27% -0.0114 -0.1763) |
| OKLCH | oklch(38.27% 0.177 266.3) |
| XYZ | xyz(7.8163, 5.0641, 33.3597) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.19
Blueberry
#464196
ΔE00 6.49
Blue Blue
#2242C7
ΔE00 6.71
Cobalt
#0047AB
ΔE00 6.87
Royal
#0C1793
ΔE00 7.15
Darkslateblue
#483D8B
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18339F #9F8418
analogous
#18769F #18339F #40189F
triadic
#18339F #9F1833 #339F18
tetradic
#18339F #9F1876 #9F8418 #189F40
square
#18339F #9F1876 #9F8418 #189F40
split-complementary
#18339F #9F4018 #769F18
monochromatic
#081135 #10226A #18339F #2044D4 #4D6BE4
Accessibility & contrast
On white
10.43
#18339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#18339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18339F
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18339F | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #18339f; /* rgb */ color: rgb(24, 51, 159); /* oklch */ color: oklch(38.3% 0.177 266.3);
Tailwind
colors: {
custom: {
50: '#706abc',
500: '#18339f',
950: '#000000',
},
}SCSS
$custom: #18339f; $custom-light: #706abc; $custom-dark: #000000;
JSON
{
"hex": "#18339f",
"rgb": {
"r": 24,
"g": 51,
"b": 159
},
"hsl": {
"h": 228,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.3827,
"c": 0.17666,
"h": 266.3
},
"luminance": 0.05065
}Semantic roles & 50–950 ramp
primary
#18339F
secondary
#C6AE4D
accent
#CB37F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81