#2143A4#2143A4
#2143A4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.162 H 265.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2143A4 |
|---|---|
| RGB | rgb(33, 67, 164) |
| HSL | hsl(224, 66%, 39%) |
| HSV | hsv(224, 80%, 64%) |
| CMYK | cmyk(79.9%, 59.1%, 0%, 35.7%) |
| CIE-LAB | lab(31.85, 24.44, -55.78) |
| CIE-LCH | lch(31.85, 60.90, 293.66°) |
| OKLab | oklab(42.15% -0.0135 -0.1611) |
| OKLCH | oklch(42.15% 0.162 265.2) |
| XYZ | xyz(9.3328, 7.0169, 35.9773) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.51
Sapphire (survey)
#2138AB
ΔE00 3.95
Cobalt (survey)
#1E488F
ΔE00 4.22
Blue Blue
#2242C7
ΔE00 5.05
Sapphire
#0F52BA
ΔE00 5.69
Blueberry
#464196
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2143A4 #A48221
analogous
#2184A4 #2143A4 #4021A4
triadic
#2143A4 #A42143 #43A421
tetradic
#2143A4 #A42184 #A48221 #21A440
square
#2143A4 #A42184 #A48221 #21A440
split-complementary
#2143A4 #A44021 #84A421
monochromatic
#0C193E #172E71 #2143A4 #2D59D5 #6081DF
Accessibility & contrast
On white
8.74
#2143A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2143A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2143A4
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2143A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2143A4 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2143a4; /* rgb */ color: rgb(33, 67, 164); /* oklch */ color: oklch(42.1% 0.162 265.2);
Tailwind
colors: {
custom: {
50: '#7276c0',
500: '#2143a4',
950: '#000000',
},
}SCSS
$custom: #2143a4; $custom-light: #7276c0; $custom-dark: #000000;
JSON
{
"hex": "#2143a4",
"rgb": {
"r": 33,
"g": 67,
"b": 164
},
"hsl": {
"h": 224.427,
"s": 66.497,
"l": 38.627
},
"oklch": {
"l": 0.42149,
"c": 0.16171,
"h": 265.2
},
"luminance": 0.07018
}Semantic roles & 50–950 ramp
primary
#2143A4
secondary
#C4A95D
accent
#BD3EE9
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81