#2147A4#2147A4
#2147A4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.157 H 264.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2147A4 |
|---|---|
| RGB | rgb(33, 71, 164) |
| HSL | hsl(223, 66%, 39%) |
| HSV | hsv(223, 80%, 64%) |
| CMYK | cmyk(79.9%, 56.7%, 0%, 35.7%) |
| CIE-LAB | lab(32.94, 21.74, -54.00) |
| CIE-LCH | lch(32.94, 58.21, 291.93°) |
| OKLab | oklab(42.97% -0.0162 -0.1558) |
| OKLCH | oklch(42.97% 0.157 264.1) |
| XYZ | xyz(9.5789, 7.5090, 36.0593) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.71
Cobalt (survey)
#1E488F
ΔE00 3.39
Sapphire
#0F52BA
ΔE00 4.54
Sapphire (survey)
#2138AB
ΔE00 5.30
Blue Blue
#2242C7
ΔE00 5.54
Dusk Blue
#26538D
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2147A4 #A47E21
analogous
#2188A4 #2147A4 #3C21A4
triadic
#2147A4 #A42147 #47A421
tetradic
#2147A4 #A42188 #A47E21 #21A43C
square
#2147A4 #A42188 #A47E21 #21A43C
split-complementary
#2147A4 #A43C21 #88A421
monochromatic
#0C1B3E #173171 #2147A4 #2D5ED5 #6085DF
Accessibility & contrast
On white
8.39
#2147A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2147A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2147A4
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2147A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2147A4 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2147a4; /* rgb */ color: rgb(33, 71, 164); /* oklch */ color: oklch(43.0% 0.157 264.1);
Tailwind
colors: {
custom: {
50: '#7279c0',
500: '#2147a4',
950: '#000000',
},
}SCSS
$custom: #2147a4; $custom-light: #7279c0; $custom-dark: #000000;
JSON
{
"hex": "#2147a4",
"rgb": {
"r": 33,
"g": 71,
"b": 164
},
"hsl": {
"h": 222.595,
"s": 66.497,
"l": 38.627
},
"oklch": {
"l": 0.42971,
"c": 0.15669,
"h": 264.1
},
"luminance": 0.0751
}Semantic roles & 50–950 ramp
primary
#2147A4
secondary
#C4A65D
accent
#B83EE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81