#2141A2#2141A2
#2141A2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.161 H 265.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2141A2 |
|---|---|
| RGB | rgb(33, 65, 162) |
| HSL | hsl(225, 66%, 38%) |
| HSV | hsv(225, 80%, 64%) |
| CMYK | cmyk(79.6%, 59.9%, 0%, 36.5%) |
| CIE-LAB | lab(31.14, 25.01, -55.72) |
| CIE-LCH | lch(31.14, 61.08, 294.18°) |
| OKLab | oklab(41.57% -0.0122 -0.161) |
| OKLCH | oklch(41.57% 0.161 265.7) |
| XYZ | xyz(9.0368, 6.7115, 34.9946) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.06
Sapphire (survey)
#2138AB
ΔE00 3.47
Cobalt (survey)
#1E488F
ΔE00 4.50
Blue Blue
#2242C7
ΔE00 5.21
Blueberry
#464196
ΔE00 5.67
Darkish Blue
#014182
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2141A2 #A28221
analogous
#2181A2 #2141A2 #4121A2
triadic
#2141A2 #A22141 #41A221
tetradic
#2141A2 #A22181 #A28221 #21A241
square
#2141A2 #A22181 #A28221 #21A241
split-complementary
#2141A2 #A24121 #81A221
monochromatic
#0C183C #172D6F #2141A2 #2C56D4 #5F7FDE
Accessibility & contrast
On white
8.96
#2141A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2141A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2141A2
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2141A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2141A2 | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2141a2; /* rgb */ color: rgb(33, 65, 162); /* oklch */ color: oklch(41.6% 0.161 265.7);
Tailwind
colors: {
custom: {
50: '#7275be',
500: '#2141a2',
950: '#000000',
},
}SCSS
$custom: #2141a2; $custom-light: #7275be; $custom-dark: #000000;
JSON
{
"hex": "#2141a2",
"rgb": {
"r": 33,
"g": 65,
"b": 162
},
"hsl": {
"h": 225.116,
"s": 66.154,
"l": 38.235
},
"oklch": {
"l": 0.41571,
"c": 0.16148,
"h": 265.7
},
"luminance": 0.06713
}Semantic roles & 50–950 ramp
primary
#2141A2
secondary
#C3A95C
accent
#BF3FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81