#2247AD#2247AD
#2247AD is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.169 H 264.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2247AD |
|---|---|
| RGB | rgb(34, 71, 173) |
| HSL | hsl(224, 67%, 41%) |
| HSV | hsv(224, 80%, 68%) |
| CMYK | cmyk(80.3%, 59%, 0%, 32.2%) |
| CIE-LAB | lab(33.69, 25.35, -58.15) |
| CIE-LCH | lch(33.69, 63.43, 293.56°) |
| OKLab | oklab(43.78% -0.015 -0.168) |
| OKLCH | oklch(43.78% 0.169 264.9) |
| XYZ | xyz(10.4531, 7.8625, 40.4937) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.04
Blue Blue
#2242C7
ΔE00 4.23
Sapphire
#0F52BA
ΔE00 4.25
Cobalt (survey)
#1E488F
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 4.79
Blue (survey)
#0343DF
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2247AD #AD8822
analogous
#228CAD #2247AD #4222AD
triadic
#2247AD #AD2247 #47AD22
tetradic
#2247AD #AD228C #AD8822 #22AD42
square
#2247AD #AD228C #AD8822 #22AD42
split-complementary
#2247AD #AD4222 #8CAD22
monochromatic
#0E1D47 #18327A #2247AD #3560D7 #6888E1
Accessibility & contrast
On white
8.16
#2247AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2247AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2247AD
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2247AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2247AD | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2247ad; /* rgb */ color: rgb(34, 71, 173); /* oklch */ color: oklch(43.8% 0.169 264.9);
Tailwind
colors: {
custom: {
50: '#7579c6',
500: '#2247ad',
950: '#000000',
},
}SCSS
$custom: #2247ad; $custom-light: #7579c6; $custom-dark: #000000;
JSON
{
"hex": "#2247ad",
"rgb": {
"r": 34,
"g": 71,
"b": 173
},
"hsl": {
"h": 224.029,
"s": 67.15,
"l": 40.588
},
"oklch": {
"l": 0.43775,
"c": 0.1687,
"h": 264.9
},
"luminance": 0.07864
}Semantic roles & 50–950 ramp
primary
#2247AD
secondary
#C7AD64
accent
#BC3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82