#1842A7#1842A7
#1842A7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.169 H 263.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1842A7 |
|---|---|
| RGB | rgb(24, 66, 167) |
| HSL | hsl(222, 75%, 37%) |
| HSV | hsv(222, 86%, 65%) |
| CMYK | cmyk(85.6%, 60.5%, 0%, 34.5%) |
| CIE-LAB | lab(31.53, 25.51, -58.10) |
| CIE-LCH | lch(31.53, 63.45, 293.70°) |
| OKLab | oklab(41.91% -0.0189 -0.1681) |
| OKLCH | oklch(41.91% 0.169 263.6) |
| XYZ | xyz(9.2975, 6.8795, 37.3896) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.26
Sapphire (survey)
#2138AB
ΔE00 3.77
Cobalt (survey)
#1E488F
ΔE00 4.46
Blue Blue
#2242C7
ΔE00 4.83
Sapphire
#0F52BA
ΔE00 5.65
Darkish Blue
#014182
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1842A7 #A77D18
analogous
#1889A7 #1842A7 #3618A7
triadic
#1842A7 #A71842 #42A718
tetradic
#1842A7 #A71889 #A77D18 #18A736
square
#1842A7 #A71889 #A77D18 #18A736
split-complementary
#1842A7 #A73618 #89A718
monochromatic
#09183C #102D71 #1842A7 #2057DD #537EE6
Accessibility & contrast
On white
8.84
#1842A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#1842A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1842A7
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1842A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1842A7 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1842a7; /* rgb */ color: rgb(24, 66, 167); /* oklch */ color: oklch(41.9% 0.169 263.6);
Tailwind
colors: {
custom: {
50: '#7175c2',
500: '#1842a7',
950: '#000000',
},
}SCSS
$custom: #1842a7; $custom-light: #7175c2; $custom-dark: #000000;
JSON
{
"hex": "#1842a7",
"rgb": {
"r": 24,
"g": 66,
"b": 167
},
"hsl": {
"h": 222.378,
"s": 74.869,
"l": 37.451
},
"oklch": {
"l": 0.41909,
"c": 0.16919,
"h": 263.6
},
"luminance": 0.06881
}Semantic roles & 50–950 ramp
primary
#1842A7
secondary
#C9A652
accent
#BB36F1
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090812
muted
#7B7B81