#2247AE#2247AE
#2247AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.170 H 265.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2247AE |
|---|---|
| RGB | rgb(34, 71, 174) |
| HSL | hsl(224, 67%, 41%) |
| HSV | hsv(224, 80%, 68%) |
| CMYK | cmyk(80.5%, 59.2%, 0%, 31.8%) |
| CIE-LAB | lab(33.78, 25.74, -58.61) |
| CIE-LCH | lch(33.78, 64.01, 293.71°) |
| OKLab | oklab(43.86% -0.0149 -0.1694) |
| OKLCH | oklch(43.86% 0.17 265) |
| XYZ | xyz(10.5502, 7.9013, 41.0053) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.12
Blue Blue
#2242C7
ΔE00 4.09
Sapphire
#0F52BA
ΔE00 4.24
Sapphire (survey)
#2138AB
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 4.85
Blue (survey)
#0343DF
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2247AE #AE8922
analogous
#228DAE #2247AE #4322AE
triadic
#2247AE #AE2247 #47AE22
tetradic
#2247AE #AE228D #AE8922 #22AE43
square
#2247AE #AE228D #AE8922 #22AE43
split-complementary
#2247AE #AE4322 #8DAE22
monochromatic
#0E1D48 #18327B #2247AE #3660D8 #6989E2
Accessibility & contrast
On white
8.14
#2247AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2247AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2247AE
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2247AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2247AE | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2247ae; /* rgb */ color: rgb(34, 71, 174); /* oklch */ color: oklch(43.9% 0.170 265.0);
Tailwind
colors: {
custom: {
50: '#7579c7',
500: '#2247ae',
950: '#000000',
},
}SCSS
$custom: #2247ae; $custom-light: #7579c7; $custom-dark: #000000;
JSON
{
"hex": "#2247ae",
"rgb": {
"r": 34,
"g": 71,
"b": 174
},
"hsl": {
"h": 224.143,
"s": 67.308,
"l": 40.784
},
"oklch": {
"l": 0.43861,
"c": 0.17005,
"h": 265
},
"luminance": 0.07903
}Semantic roles & 50–950 ramp
primary
#2247AE
secondary
#C7AD64
accent
#BD3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82