#1841A7#1841A7
#1841A7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.170 H 263.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1841A7 |
|---|---|
| RGB | rgb(24, 65, 167) |
| HSL | hsl(223, 75%, 37%) |
| HSV | hsv(223, 86%, 65%) |
| CMYK | cmyk(85.6%, 61.1%, 0%, 34.5%) |
| CIE-LAB | lab(31.26, 26.18, -58.54) |
| CIE-LCH | lch(31.26, 64.13, 294.10°) |
| OKLab | oklab(41.71% -0.0184 -0.1694) |
| OKLCH | oklch(41.71% 0.17 263.8) |
| XYZ | xyz(9.2395, 6.7637, 37.3703) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.58
Sapphire (survey)
#2138AB
ΔE00 3.44
Cobalt (survey)
#1E488F
ΔE00 4.70
Blue Blue
#2242C7
ΔE00 4.76
Sapphire
#0F52BA
ΔE00 5.96
Darkish Blue
#014182
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1841A7 #A77E18
analogous
#1889A7 #1841A7 #3618A7
triadic
#1841A7 #A71841 #41A718
tetradic
#1841A7 #A71889 #A77E18 #18A736
square
#1841A7 #A71889 #A77E18 #18A736
split-complementary
#1841A7 #A73618 #89A718
monochromatic
#09173C #102C71 #1841A7 #2056DD #537DE6
Accessibility & contrast
On white
8.92
#1841A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#1841A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1841A7
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1841A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1841A7 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1841a7; /* rgb */ color: rgb(24, 65, 167); /* oklch */ color: oklch(41.7% 0.170 263.8);
Tailwind
colors: {
custom: {
50: '#7175c2',
500: '#1841a7',
950: '#000000',
},
}SCSS
$custom: #1841a7; $custom-light: #7175c2; $custom-dark: #000000;
JSON
{
"hex": "#1841a7",
"rgb": {
"r": 24,
"g": 65,
"b": 167
},
"hsl": {
"h": 222.797,
"s": 74.869,
"l": 37.451
},
"oklch": {
"l": 0.41708,
"c": 0.17042,
"h": 263.8
},
"luminance": 0.06765
}Semantic roles & 50–950 ramp
primary
#1841A7
secondary
#C9A752
accent
#BC36F1
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090812
muted
#7B7B81