#1845B4#1845B4
#1845B4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.183 H 263.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1845B4 |
|---|---|
| RGB | rgb(24, 69, 180) |
| HSL | hsl(223, 76%, 40%) |
| HSV | hsv(223, 87%, 71%) |
| CMYK | cmyk(86.7%, 61.7%, 0%, 29.4%) |
| CIE-LAB | lab(33.44, 28.60, -62.73) |
| CIE-LCH | lch(33.44, 68.94, 294.51°) |
| OKLab | oklab(43.68% -0.0201 -0.1816) |
| OKLCH | oklch(43.68% 0.183 263.7) |
| XYZ | xyz(10.7401, 7.7444, 44.0999) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.40
Blue Blue
#2242C7
ΔE00 3.31
Sapphire (survey)
#2138AB
ΔE00 4.29
Sapphire
#0F52BA
ΔE00 4.55
Cobalt (survey)
#1E488F
ΔE00 5.60
Blue (survey)
#0343DF
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1845B4 #B48718
analogous
#1893B4 #1845B4 #3918B4
triadic
#1845B4 #B41845 #45B418
tetradic
#1845B4 #B41893 #B48718 #18B439
square
#1845B4 #B41893 #B48718 #18B439
split-complementary
#1845B4 #B43918 #93B418
monochromatic
#0A1C48 #11307E #1845B4 #275DE2 #5D86E9
Accessibility & contrast
On white
8.24
#1845B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#1845B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1845B4
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1845B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1845B4 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1845b4; /* rgb */ color: rgb(24, 69, 180); /* oklch */ color: oklch(43.7% 0.183 263.7);
Tailwind
colors: {
custom: {
50: '#7478cb',
500: '#1845b4',
950: '#000000',
},
}SCSS
$custom: #1845b4; $custom-light: #7478cb; $custom-dark: #000000;
JSON
{
"hex": "#1845b4",
"rgb": {
"r": 24,
"g": 69,
"b": 180
},
"hsl": {
"h": 222.692,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.43683,
"c": 0.18274,
"h": 263.7
},
"luminance": 0.07746
}Semantic roles & 50–950 ramp
primary
#1845B4
secondary
#CDAC5B
accent
#BC35F3
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82