#2247A6#2247A6
#2247A6 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.159 H 264.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2247A6 |
|---|---|
| RGB | rgb(34, 71, 166) |
| HSL | hsl(223, 66%, 39%) |
| HSV | hsv(223, 80%, 65%) |
| CMYK | cmyk(79.5%, 57.2%, 0%, 34.9%) |
| CIE-LAB | lab(33.13, 22.63, -54.88) |
| CIE-LCH | lch(33.13, 59.36, 292.41°) |
| OKLab | oklab(43.18% -0.0153 -0.1584) |
| OKLCH | oklch(43.18% 0.159 264.5) |
| XYZ | xyz(9.7934, 7.5986, 37.0195) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.77
Cobalt (survey)
#1E488F
ΔE00 3.73
Sapphire
#0F52BA
ΔE00 4.47
Sapphire (survey)
#2138AB
ΔE00 5.13
Blue Blue
#2242C7
ΔE00 5.21
Dusk Blue
#26538D
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2247A6 #A68122
analogous
#2289A6 #2247A6 #3F22A6
triadic
#2247A6 #A62247 #47A622
tetradic
#2247A6 #A62289 #A68122 #22A63F
square
#2247A6 #A62289 #A68122 #22A63F
split-complementary
#2247A6 #A63F22 #89A622
monochromatic
#0D1C40 #183173 #2247A6 #305FD5 #6386DF
Accessibility & contrast
On white
8.33
#2247A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2247A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2247A6
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2247A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2247A6 | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2247a6; /* rgb */ color: rgb(34, 71, 166); /* oklch */ color: oklch(43.2% 0.159 264.5);
Tailwind
colors: {
custom: {
50: '#7379c1',
500: '#2247a6',
950: '#000000',
},
}SCSS
$custom: #2247a6; $custom-light: #7379c1; $custom-dark: #000000;
JSON
{
"hex": "#2247a6",
"rgb": {
"r": 34,
"g": 71,
"b": 166
},
"hsl": {
"h": 223.182,
"s": 66,
"l": 39.216
},
"oklch": {
"l": 0.43177,
"c": 0.15917,
"h": 264.5
},
"luminance": 0.076
}Semantic roles & 50–950 ramp
primary
#2247A6
secondary
#C4A85F
accent
#B93FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81