#1845A8#1845A8
#1845A8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.167 H 262.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1845A8 |
|---|---|
| RGB | rgb(24, 69, 168) |
| HSL | hsl(221, 75%, 38%) |
| HSV | hsv(221, 86%, 66%) |
| CMYK | cmyk(85.7%, 58.9%, 0%, 34.1%) |
| CIE-LAB | lab(32.43, 23.87, -57.24) |
| CIE-LCH | lch(32.43, 62.02, 292.64°) |
| OKLab | oklab(42.61% -0.0206 -0.1655) |
| OKLCH | oklch(42.61% 0.167 262.9) |
| XYZ | xyz(9.5702, 7.2764, 37.9383) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.41
Cobalt (survey)
#1E488F
ΔE00 3.94
Sapphire (survey)
#2138AB
ΔE00 4.71
Sapphire
#0F52BA
ΔE00 4.71
Blue Blue
#2242C7
ΔE00 5.01
Darkish Blue
#014182
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1845A8 #A87B18
analogous
#188DA8 #1845A8 #3318A8
triadic
#1845A8 #A81845 #45A818
tetradic
#1845A8 #A8188D #A87B18 #18A833
square
#1845A8 #A8188D #A87B18 #18A833
split-complementary
#1845A8 #A83318 #8DA818
monochromatic
#09193D #102F72 #1845A8 #205BDE #5482E7
Accessibility & contrast
On white
8.55
#1845A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#1845A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1845A8
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1845A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1845A8 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1845a8; /* rgb */ color: rgb(24, 69, 168); /* oklch */ color: oklch(42.6% 0.167 262.9);
Tailwind
colors: {
custom: {
50: '#7178c3',
500: '#1845a8',
950: '#000000',
},
}SCSS
$custom: #1845a8; $custom-light: #7178c3; $custom-dark: #000000;
JSON
{
"hex": "#1845a8",
"rgb": {
"r": 24,
"g": 69,
"b": 168
},
"hsl": {
"h": 221.25,
"s": 75,
"l": 37.647
},
"oklch": {
"l": 0.42607,
"c": 0.16681,
"h": 262.9
},
"luminance": 0.07278
}Semantic roles & 50–950 ramp
primary
#1845A8
secondary
#C9A453
accent
#B736F2
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090813
muted
#7B7B82