#2247A0#2247A0
#2247A0 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.151 H 264.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2247A0 |
|---|---|
| RGB | rgb(34, 71, 160) |
| HSL | hsl(222, 65%, 38%) |
| HSV | hsv(222, 79%, 63%) |
| CMYK | cmyk(78.8%, 55.6%, 0%, 37.3%) |
| CIE-LAB | lab(32.66, 20.27, -52.03) |
| CIE-LCH | lch(32.66, 55.84, 291.29°) |
| OKLab | oklab(42.68% -0.0157 -0.1501) |
| OKLCH | oklch(42.68% 0.151 264) |
| XYZ | xyz(9.2558, 7.3836, 34.1882) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.97
Cobalt (survey)
#1E488F
ΔE00 2.88
Sapphire
#0F52BA
ΔE00 4.81
Darkish Blue
#014182
ΔE00 5.40
Dusk Blue
#26538D
ΔE00 5.49
Sapphire (survey)
#2138AB
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2247A0 #A07B22
analogous
#2286A0 #2247A0 #3C22A0
triadic
#2247A0 #A02247 #47A022
tetradic
#2247A0 #A02286 #A07B22 #22A03C
square
#2247A0 #A02286 #A07B22 #22A03C
split-complementary
#2247A0 #A03C22 #86A022
monochromatic
#0D1A3B #17316E #2247A0 #2D5DD2 #5F84DD
Accessibility & contrast
On white
8.48
#2247A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2247A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2247A0
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2247A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2247A0 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 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: #2247a0; /* rgb */ color: rgb(34, 71, 160); /* oklch */ color: oklch(42.7% 0.151 264.0);
Tailwind
colors: {
custom: {
50: '#7179bd',
500: '#2247a0',
950: '#000000',
},
}SCSS
$custom: #2247a0; $custom-light: #7179bd; $custom-dark: #000000;
JSON
{
"hex": "#2247a0",
"rgb": {
"r": 34,
"g": 71,
"b": 160
},
"hsl": {
"h": 222.381,
"s": 64.948,
"l": 38.039
},
"oklch": {
"l": 0.42677,
"c": 0.15089,
"h": 264
},
"luminance": 0.07385
}Semantic roles & 50–950 ramp
primary
#2247A0
secondary
#C2A45C
accent
#B740E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81