#2147A0#2147A0
#2147A0 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.151 H 263.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2147A0 |
|---|---|
| RGB | rgb(33, 71, 160) |
| HSL | hsl(222, 66%, 38%) |
| HSV | hsv(222, 79%, 63%) |
| CMYK | cmyk(79.4%, 55.6%, 0%, 37.3%) |
| CIE-LAB | lab(32.63, 20.16, -52.09) |
| CIE-LCH | lch(32.63, 55.86, 291.16°) |
| OKLab | oklab(42.64% -0.0165 -0.1503) |
| OKLCH | oklch(42.64% 0.151 263.7) |
| XYZ | xyz(9.2233, 7.3668, 34.1867) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.90
Cobalt (survey)
#1E488F
ΔE00 2.82
Sapphire
#0F52BA
ΔE00 4.78
Darkish Blue
#014182
ΔE00 5.33
Dusk Blue
#26538D
ΔE00 5.44
Sapphire (survey)
#2138AB
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2147A0 #A07A21
analogous
#2186A0 #2147A0 #3A21A0
triadic
#2147A0 #A02147 #47A021
tetradic
#2147A0 #A02186 #A07A21 #21A03A
square
#2147A0 #A02186 #A07A21 #21A03A
split-complementary
#2147A0 #A03A21 #86A021
monochromatic
#0C1A3B #17306D #2147A0 #2B5ED3 #5E84DE
Accessibility & contrast
On white
8.49
#2147A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2147A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2147A0
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2147A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2147A0 | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2147a0; /* rgb */ color: rgb(33, 71, 160); /* oklch */ color: oklch(42.6% 0.151 263.7);
Tailwind
colors: {
custom: {
50: '#7179bd',
500: '#2147a0',
950: '#000000',
},
}SCSS
$custom: #2147a0; $custom-light: #7179bd; $custom-dark: #000000;
JSON
{
"hex": "#2147a0",
"rgb": {
"r": 33,
"g": 71,
"b": 160
},
"hsl": {
"h": 222.047,
"s": 65.803,
"l": 37.843
},
"oklch": {
"l": 0.42638,
"c": 0.15116,
"h": 263.7
},
"luminance": 0.07368
}Semantic roles & 50–950 ramp
primary
#2147A0
secondary
#C2A35B
accent
#B63FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81