#1846A8#1846A8
#1846A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.166 H 262.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1846A8 |
|---|---|
| RGB | rgb(24, 70, 168) |
| HSL | hsl(221, 75%, 38%) |
| HSV | hsv(221, 86%, 66%) |
| CMYK | cmyk(85.7%, 58.3%, 0%, 34.1%) |
| CIE-LAB | lab(32.70, 23.19, -56.79) |
| CIE-LCH | lch(32.70, 61.34, 292.21°) |
| OKLab | oklab(42.81% -0.0212 -0.1642) |
| OKLCH | oklch(42.81% 0.166 262.7) |
| XYZ | xyz(9.6322, 7.4005, 37.9590) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.17
Cobalt (survey)
#1E488F
ΔE00 3.77
Sapphire
#0F52BA
ΔE00 4.42
Sapphire (survey)
#2138AB
ΔE00 5.06
Blue Blue
#2242C7
ΔE00 5.16
Darkish Blue
#014182
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1846A8 #A87A18
analogous
#188EA8 #1846A8 #3218A8
triadic
#1846A8 #A81846 #46A818
tetradic
#1846A8 #A8188E #A87A18 #18A832
square
#1846A8 #A8188E #A87A18 #18A832
split-complementary
#1846A8 #A83218 #8EA818
monochromatic
#09193D #103072 #1846A8 #205CDE #5483E7
Accessibility & contrast
On white
8.47
#1846A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#1846A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1846A8
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1846A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1846A8 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1846a8; /* rgb */ color: rgb(24, 70, 168); /* oklch */ color: oklch(42.8% 0.166 262.7);
Tailwind
colors: {
custom: {
50: '#7178c3',
500: '#1846a8',
950: '#000000',
},
}SCSS
$custom: #1846a8; $custom-light: #7178c3; $custom-dark: #000000;
JSON
{
"hex": "#1846a8",
"rgb": {
"r": 24,
"g": 70,
"b": 168
},
"hsl": {
"h": 220.833,
"s": 75,
"l": 37.647
},
"oklch": {
"l": 0.42813,
"c": 0.16558,
"h": 262.7
},
"luminance": 0.07402
}Semantic roles & 50–950 ramp
primary
#1846A8
secondary
#C9A353
accent
#B636F2
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090913
muted
#7B7B82