#1839B4#1839B4
#1839B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.197 H 265.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1839B4 |
|---|---|
| RGB | rgb(24, 57, 180) |
| HSL | hsl(227, 76%, 40%) |
| HSV | hsv(227, 87%, 71%) |
| CMYK | cmyk(86.7%, 68.3%, 0%, 29.4%) |
| CIE-LAB | lab(30.43, 36.48, -67.67) |
| CIE-LCH | lch(30.43, 76.87, 298.33°) |
| OKLab | oklab(41.46% -0.0149 -0.1962) |
| OKLCH | oklch(41.46% 0.197 265.7) |
| XYZ | xyz(10.0751, 6.4145, 43.8783) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.25
Blue Blue
#2242C7
ΔE00 3.58
Cobalt
#0047AB
ΔE00 5.63
Blue (survey)
#0343DF
ΔE00 6.07
Ocean Blue
#4F42B5
ΔE00 6.07
Blueberry
#464196
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1839B4 #B49318
analogous
#1887B4 #1839B4 #4518B4
triadic
#1839B4 #B41839 #39B418
tetradic
#1839B4 #B41887 #B49318 #18B445
square
#1839B4 #B41887 #B49318 #18B445
split-complementary
#1839B4 #B44518 #87B418
monochromatic
#0A1748 #11287E #1839B4 #274FE2 #5D7BE9
Accessibility & contrast
On white
9.20
#1839B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#1839B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1839B4
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1839B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1839B4 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1839b4; /* rgb */ color: rgb(24, 57, 180); /* oklch */ color: oklch(41.5% 0.197 265.7);
Tailwind
colors: {
custom: {
50: '#756fcc',
500: '#1839b4',
950: '#000000',
},
}SCSS
$custom: #1839b4; $custom-light: #756fcc; $custom-dark: #000000;
JSON
{
"hex": "#1839b4",
"rgb": {
"r": 24,
"g": 57,
"b": 180
},
"hsl": {
"h": 227.308,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.41463,
"c": 0.19674,
"h": 265.7
},
"luminance": 0.06416
}Semantic roles & 50–950 ramp
primary
#1839B4
secondary
#CDB55B
accent
#CB35F3
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0713
muted
#7C7A82