#1842A0#1842A0
#1842A0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.160 H 263.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1842A0 |
|---|---|
| RGB | rgb(24, 66, 160) |
| HSL | hsl(221, 74%, 36%) |
| HSV | hsv(221, 85%, 63%) |
| CMYK | cmyk(85%, 58.8%, 0%, 37.3%) |
| CIE-LAB | lab(30.94, 22.71, -54.85) |
| CIE-LCH | lch(30.94, 59.36, 292.50°) |
| OKLab | oklab(41.29% -0.0192 -0.1586) |
| OKLCH | oklch(41.29% 0.16 263.1) |
| XYZ | xyz(8.6678, 6.6276, 34.0733) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.33
Cobalt (survey)
#1E488F
ΔE00 3.58
Sapphire (survey)
#2138AB
ΔE00 4.39
Darkish Blue
#014182
ΔE00 5.22
Blue Blue
#2242C7
ΔE00 5.86
Sapphire
#0F52BA
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1842A0 #A07618
analogous
#1886A0 #1842A0 #3218A0
triadic
#1842A0 #A01842 #42A018
tetradic
#1842A0 #A01886 #A07618 #18A032
square
#1842A0 #A01886 #A07618 #18A032
split-complementary
#1842A0 #A03218 #86A018
monochromatic
#081636 #102C6B #1842A0 #2058D5 #4E7CE4
Accessibility & contrast
On white
9.03
#1842A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1842A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1842A0
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1842A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1842A0 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1842a0; /* rgb */ color: rgb(24, 66, 160); /* oklch */ color: oklch(41.3% 0.160 263.1);
Tailwind
colors: {
custom: {
50: '#6f75bd',
500: '#1842a0',
950: '#000000',
},
}SCSS
$custom: #1842a0; $custom-light: #6f75bd; $custom-dark: #000000;
JSON
{
"hex": "#1842a0",
"rgb": {
"r": 24,
"g": 66,
"b": 160
},
"hsl": {
"h": 221.471,
"s": 73.913,
"l": 36.078
},
"oklch": {
"l": 0.41286,
"c": 0.15974,
"h": 263.1
},
"luminance": 0.06629
}Semantic roles & 50–950 ramp
primary
#1842A0
secondary
#C6A14D
accent
#B737F1
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81