#2147A1#2147A1
#2147A1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.153 H 263.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2147A1 |
|---|---|
| RGB | rgb(33, 71, 161) |
| HSL | hsl(222, 66%, 38%) |
| HSV | hsv(222, 80%, 63%) |
| CMYK | cmyk(79.5%, 55.9%, 0%, 36.9%) |
| CIE-LAB | lab(32.70, 20.56, -52.57) |
| CIE-LCH | lch(32.70, 56.45, 291.36°) |
| OKLab | oklab(42.72% -0.0164 -0.1517) |
| OKLCH | oklch(42.72% 0.153 263.8) |
| XYZ | xyz(9.3112, 7.4019, 34.6493) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.83
Cobalt (survey)
#1E488F
ΔE00 2.96
Sapphire
#0F52BA
ΔE00 4.72
Darkish Blue
#014182
ΔE00 5.46
Dusk Blue
#26538D
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2147A1 #A17B21
analogous
#2187A1 #2147A1 #3B21A1
triadic
#2147A1 #A12147 #47A121
tetradic
#2147A1 #A12187 #A17B21 #21A13B
square
#2147A1 #A12187 #A17B21 #21A13B
split-complementary
#2147A1 #A13B21 #87A121
monochromatic
#0C1A3B #17316E #2147A1 #2C5DD4 #5E84DE
Accessibility & contrast
On white
8.47
#2147A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2147A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2147A1
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2147A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2147A1 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2147a1; /* rgb */ color: rgb(33, 71, 161); /* oklch */ color: oklch(42.7% 0.153 263.8);
Tailwind
colors: {
custom: {
50: '#7179be',
500: '#2147a1',
950: '#000000',
},
}SCSS
$custom: #2147a1; $custom-light: #7179be; $custom-dark: #000000;
JSON
{
"hex": "#2147a1",
"rgb": {
"r": 33,
"g": 71,
"b": 161
},
"hsl": {
"h": 222.188,
"s": 65.979,
"l": 38.039
},
"oklch": {
"l": 0.42721,
"c": 0.15256,
"h": 263.8
},
"luminance": 0.07403
}Semantic roles & 50–950 ramp
primary
#2147A1
secondary
#C3A45B
accent
#B63FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81