#2143A7#2143A7
#2143A7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.166 H 265.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2143A7 |
|---|---|
| RGB | rgb(33, 67, 167) |
| HSL | hsl(225, 67%, 39%) |
| HSV | hsv(225, 80%, 65%) |
| CMYK | cmyk(80.2%, 59.9%, 0%, 34.5%) |
| CIE-LAB | lab(32.09, 25.61, -57.17) |
| CIE-LCH | lch(32.09, 62.65, 294.13°) |
| OKLab | oklab(42.41% -0.0134 -0.1652) |
| OKLCH | oklch(42.41% 0.166 265.4) |
| XYZ | xyz(9.6069, 7.1265, 37.4210) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.55
Sapphire (survey)
#2138AB
ΔE00 3.74
Cobalt (survey)
#1E488F
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 4.60
Sapphire
#0F52BA
ΔE00 5.59
Blueberry
#464196
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2143A7 #A78521
analogous
#2186A7 #2143A7 #4221A7
triadic
#2143A7 #A72143 #43A721
tetradic
#2143A7 #A72186 #A78521 #21A742
square
#2143A7 #A72186 #A78521 #21A742
split-complementary
#2143A7 #A74221 #86A721
monochromatic
#0D1A41 #172E74 #2143A7 #2F5AD6 #6282E0
Accessibility & contrast
On white
8.66
#2143A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2143A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2143A7
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2143A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2143A7 | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2143a7; /* rgb */ color: rgb(33, 67, 167); /* oklch */ color: oklch(42.4% 0.166 265.4);
Tailwind
colors: {
custom: {
50: '#7376c2',
500: '#2143a7',
950: '#000000',
},
}SCSS
$custom: #2143a7; $custom-light: #7376c2; $custom-dark: #000000;
JSON
{
"hex": "#2143a7",
"rgb": {
"r": 33,
"g": 67,
"b": 167
},
"hsl": {
"h": 224.776,
"s": 67,
"l": 39.216
},
"oklch": {
"l": 0.42412,
"c": 0.16579,
"h": 265.4
},
"luminance": 0.07128
}Semantic roles & 50–950 ramp
primary
#2143A7
secondary
#C5AB5F
accent
#BE3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81