#2143B2#2143B2
#2143B2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.180 H 265.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2143B2 |
|---|---|
| RGB | rgb(33, 67, 178) |
| HSL | hsl(226, 69%, 41%) |
| HSV | hsv(226, 81%, 70%) |
| CMYK | cmyk(81.5%, 62.4%, 0%, 30.2%) |
| CIE-LAB | lab(33.03, 29.85, -62.21) |
| CIE-LCH | lch(33.03, 69.00, 295.63°) |
| OKLab | oklab(43.4% -0.0132 -0.18) |
| OKLCH | oklch(43.4% 0.181 265.8) |
| XYZ | xyz(10.6674, 7.5507, 43.0061) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.01
Cobalt
#0047AB
ΔE00 3.20
Sapphire (survey)
#2138AB
ΔE00 3.42
Sapphire
#0F52BA
ΔE00 5.46
Blue (survey)
#0343DF
ΔE00 5.66
Cobalt (survey)
#1E488F
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2143B2 #B29021
analogous
#218CB2 #2143B2 #4821B2
triadic
#2143B2 #B22143 #43B221
tetradic
#2143B2 #B2218C #B29021 #21B248
square
#2143B2 #B2218C #B29021 #21B248
split-complementary
#2143B2 #B24821 #8CB221
monochromatic
#0E1C4B #17307E #2143B2 #365DDA #6A86E3
Accessibility & contrast
On white
8.37
#2143B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2143B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2143B2
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2143B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2143B2 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2143b2; /* rgb */ color: rgb(33, 67, 178); /* oklch */ color: oklch(43.4% 0.180 265.8);
Tailwind
colors: {
custom: {
50: '#7676ca',
500: '#2143b2',
950: '#000000',
},
}SCSS
$custom: #2143b2; $custom-light: #7676ca; $custom-dark: #000000;
JSON
{
"hex": "#2143b2",
"rgb": {
"r": 33,
"g": 67,
"b": 178
},
"hsl": {
"h": 225.931,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.43399,
"c": 0.1805,
"h": 265.8
},
"luminance": 0.07552
}Semantic roles & 50–950 ramp
primary
#2143B2
secondary
#C9B266
accent
#C23CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82