#2147AC#2147AC
#2147AC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.168 H 264.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2147AC |
|---|---|
| RGB | rgb(33, 71, 172) |
| HSL | hsl(224, 68%, 40%) |
| HSV | hsv(224, 81%, 67%) |
| CMYK | cmyk(80.8%, 58.7%, 0%, 32.5%) |
| CIE-LAB | lab(33.58, 24.87, -57.74) |
| CIE-LCH | lch(33.58, 62.87, 293.30°) |
| OKLab | oklab(43.65% -0.0157 -0.1669) |
| OKLCH | oklch(43.65% 0.168 264.6) |
| XYZ | xyz(10.3242, 7.8071, 39.9845) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.89
Sapphire
#0F52BA
ΔE00 4.23
Blue Blue
#2242C7
ΔE00 4.40
Cobalt (survey)
#1E488F
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 4.86
Dusk Blue
#26538D
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2147AC #AC8621
analogous
#218DAC #2147AC #4021AC
triadic
#2147AC #AC2147 #47AC21
tetradic
#2147AC #AC218D #AC8621 #21AC40
square
#2147AC #AC218D #AC8621 #21AC40
split-complementary
#2147AC #AC4021 #8DAC21
monochromatic
#0D1D45 #173279 #2147AC #3260D8 #6688E2
Accessibility & contrast
On white
8.20
#2147AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2147AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2147AC
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2147AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2147AC | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2147ac; /* rgb */ color: rgb(33, 71, 172); /* oklch */ color: oklch(43.7% 0.168 264.6);
Tailwind
colors: {
custom: {
50: '#7479c6',
500: '#2147ac',
950: '#000000',
},
}SCSS
$custom: #2147ac; $custom-light: #7479c6; $custom-dark: #000000;
JSON
{
"hex": "#2147ac",
"rgb": {
"r": 33,
"g": 71,
"b": 172
},
"hsl": {
"h": 223.597,
"s": 67.805,
"l": 40.196
},
"oklch": {
"l": 0.43652,
"c": 0.1676,
"h": 264.6
},
"luminance": 0.07808
}Semantic roles & 50–950 ramp
primary
#2147AC
secondary
#C7AB62
accent
#BB3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82