#2247AC#2247AC
#2247AC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.167 H 264.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2247AC |
|---|---|
| RGB | rgb(34, 71, 172) |
| HSL | hsl(224, 67%, 40%) |
| HSV | hsv(224, 80%, 67%) |
| CMYK | cmyk(80.2%, 58.7%, 0%, 32.5%) |
| CIE-LAB | lab(33.61, 24.97, -57.68) |
| CIE-LCH | lch(33.61, 62.85, 293.40°) |
| OKLab | oklab(43.69% -0.015 -0.1667) |
| OKLCH | oklch(43.69% 0.167 264.9) |
| XYZ | xyz(10.3567, 7.8239, 39.9860) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.98
Sapphire
#0F52BA
ΔE00 4.27
Blue Blue
#2242C7
ΔE00 4.36
Cobalt (survey)
#1E488F
ΔE00 4.57
Sapphire (survey)
#2138AB
ΔE00 4.82
Dusk Blue
#26538D
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2247AC #AC8722
analogous
#228CAC #2247AC #4222AC
triadic
#2247AC #AC2247 #47AC22
tetradic
#2247AC #AC228C #AC8722 #22AC42
square
#2247AC #AC228C #AC8722 #22AC42
split-complementary
#2247AC #AC4222 #8CAC22
monochromatic
#0E1D46 #183279 #2247AC #3460D7 #6788E1
Accessibility & contrast
On white
8.19
#2247AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2247AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2247AC
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2247AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2247AC | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 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: #2247ac; /* rgb */ color: rgb(34, 71, 172); /* oklch */ color: oklch(43.7% 0.167 264.9);
Tailwind
colors: {
custom: {
50: '#7479c6',
500: '#2247ac',
950: '#000000',
},
}SCSS
$custom: #2247ac; $custom-light: #7479c6; $custom-dark: #000000;
JSON
{
"hex": "#2247ac",
"rgb": {
"r": 34,
"g": 71,
"b": 172
},
"hsl": {
"h": 223.913,
"s": 66.99,
"l": 40.392
},
"oklch": {
"l": 0.43688,
"c": 0.16735,
"h": 264.9
},
"luminance": 0.07825
}Semantic roles & 50–950 ramp
primary
#2247AC
secondary
#C7AC63
accent
#BC3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82