#2143B4#2143B4
#2143B4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.183 H 265.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2143B4 |
|---|---|
| RGB | rgb(33, 67, 180) |
| HSL | hsl(226, 69%, 42%) |
| HSV | hsv(226, 82%, 71%) |
| CMYK | cmyk(81.7%, 62.8%, 0%, 29.4%) |
| CIE-LAB | lab(33.20, 30.61, -63.11) |
| CIE-LCH | lch(33.20, 70.14, 295.88°) |
| OKLab | oklab(43.58% -0.0132 -0.1826) |
| OKLCH | oklch(43.58% 0.183 265.9) |
| XYZ | xyz(10.8697, 7.6316, 44.0713) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.72
Cobalt
#0047AB
ΔE00 3.37
Sapphire (survey)
#2138AB
ΔE00 3.45
Blue (survey)
#0343DF
ΔE00 5.38
Sapphire
#0F52BA
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2143B4 #B49221
analogous
#218DB4 #2143B4 #4821B4
triadic
#2143B4 #B42143 #43B421
tetradic
#2143B4 #B4218D #B49221 #21B448
square
#2143B4 #B4218D #B49221 #21B448
split-complementary
#2143B4 #B44821 #8DB421
monochromatic
#0E1C4D #183080 #2143B4 #385DDA #6B87E4
Accessibility & contrast
On white
8.31
#2143B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2143B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2143B4
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2143B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2143B4 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2143b4; /* rgb */ color: rgb(33, 67, 180); /* oklch */ color: oklch(43.6% 0.183 265.9);
Tailwind
colors: {
custom: {
50: '#7676cb',
500: '#2143b4',
950: '#000000',
},
}SCSS
$custom: #2143b4; $custom-light: #7676cb; $custom-dark: #000000;
JSON
{
"hex": "#2143b4",
"rgb": {
"r": 33,
"g": 67,
"b": 180
},
"hsl": {
"h": 226.122,
"s": 69.014,
"l": 41.765
},
"oklch": {
"l": 0.43582,
"c": 0.18313,
"h": 265.9
},
"luminance": 0.07633
}Semantic roles & 50–950 ramp
primary
#2143B4
secondary
#CAB367
accent
#C33CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82