#1843A8#1843A8
#1843A8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.169 H 263.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1843A8 |
|---|---|
| RGB | rgb(24, 67, 168) |
| HSL | hsl(222, 75%, 38%) |
| HSV | hsv(222, 86%, 66%) |
| CMYK | cmyk(85.7%, 60.1%, 0%, 34.1%) |
| CIE-LAB | lab(31.89, 25.22, -58.12) |
| CIE-LCH | lch(31.89, 63.36, 293.46°) |
| OKLab | oklab(42.2% -0.0194 -0.1682) |
| OKLCH | oklch(42.2% 0.169 263.4) |
| XYZ | xyz(9.4492, 7.0345, 37.8980) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.98
Sapphire (survey)
#2138AB
ΔE00 4.03
Cobalt (survey)
#1E488F
ΔE00 4.35
Blue Blue
#2242C7
ΔE00 4.77
Sapphire
#0F52BA
ΔE00 5.32
Darkish Blue
#014182
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1843A8 #A87D18
analogous
#188BA8 #1843A8 #3518A8
triadic
#1843A8 #A81843 #43A818
tetradic
#1843A8 #A8188B #A87D18 #18A835
square
#1843A8 #A8188B #A87D18 #18A835
split-complementary
#1843A8 #A83518 #8BA818
monochromatic
#09183D #102E72 #1843A8 #2058DE #5480E7
Accessibility & contrast
On white
8.72
#1843A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#1843A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1843A8
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1843A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1843A8 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1843a8; /* rgb */ color: rgb(24, 67, 168); /* oklch */ color: oklch(42.2% 0.169 263.4);
Tailwind
colors: {
custom: {
50: '#7176c3',
500: '#1843a8',
950: '#000000',
},
}SCSS
$custom: #1843a8; $custom-light: #7176c3; $custom-dark: #000000;
JSON
{
"hex": "#1843a8",
"rgb": {
"r": 24,
"g": 67,
"b": 168
},
"hsl": {
"h": 222.083,
"s": 75,
"l": 37.647
},
"oklch": {
"l": 0.422,
"c": 0.1693,
"h": 263.4
},
"luminance": 0.07036
}Semantic roles & 50–950 ramp
primary
#1843A8
secondary
#C9A653
accent
#BA36F2
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090813
muted
#7B7B82