#2142A0#2142A0
#2142A0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.157 H 265.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2142A0 |
|---|---|
| RGB | rgb(33, 66, 160) |
| HSL | hsl(224, 66%, 38%) |
| HSV | hsv(224, 79%, 63%) |
| CMYK | cmyk(79.4%, 58.8%, 0%, 37.3%) |
| CIE-LAB | lab(31.25, 23.56, -54.34) |
| CIE-LCH | lch(31.25, 59.23, 293.44°) |
| OKLab | oklab(41.6% -0.013 -0.1569) |
| OKLCH | oklch(41.6% 0.157 265.3) |
| XYZ | xyz(8.9183, 6.7568, 34.0851) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.82
Sapphire (survey)
#2138AB
ΔE00 3.98
Cobalt (survey)
#1E488F
ΔE00 3.99
Blue Blue
#2242C7
ΔE00 5.56
Darkish Blue
#014182
ΔE00 5.79
Blueberry
#464196
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2142A0 #A07F21
analogous
#2182A0 #2142A0 #3F21A0
triadic
#2142A0 #A02142 #42A021
tetradic
#2142A0 #A02182 #A07F21 #21A03F
square
#2142A0 #A02182 #A07F21 #21A03F
split-complementary
#2142A0 #A03F21 #82A021
monochromatic
#0C183B #172D6D #2142A0 #2B57D3 #5E7FDE
Accessibility & contrast
On white
8.93
#2142A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2142A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2142A0
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2142A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2142A0 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2142a0; /* rgb */ color: rgb(33, 66, 160); /* oklch */ color: oklch(41.6% 0.157 265.3);
Tailwind
colors: {
custom: {
50: '#7175bd',
500: '#2142a0',
950: '#000000',
},
}SCSS
$custom: #2142a0; $custom-light: #7175bd; $custom-dark: #000000;
JSON
{
"hex": "#2142a0",
"rgb": {
"r": 33,
"g": 66,
"b": 160
},
"hsl": {
"h": 224.409,
"s": 65.803,
"l": 37.843
},
"oklch": {
"l": 0.41599,
"c": 0.15748,
"h": 265.3
},
"luminance": 0.06758
}Semantic roles & 50–950 ramp
primary
#2142A0
secondary
#C2A75B
accent
#BD3FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81