#2247AF#2247AF
#2247AF is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.171 H 265.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2247AF |
|---|---|
| RGB | rgb(34, 71, 175) |
| HSL | hsl(224, 67%, 41%) |
| HSV | hsv(224, 81%, 69%) |
| CMYK | cmyk(80.6%, 59.4%, 0%, 31.4%) |
| CIE-LAB | lab(33.86, 26.13, -59.07) |
| CIE-LCH | lch(33.86, 64.59, 293.86°) |
| OKLab | oklab(43.95% -0.0149 -0.1707) |
| OKLCH | oklch(43.95% 0.171 265) |
| XYZ | xyz(10.6480, 7.9404, 41.5206) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.20
Blue Blue
#2242C7
ΔE00 3.95
Sapphire
#0F52BA
ΔE00 4.23
Sapphire (survey)
#2138AB
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 4.99
Blue (survey)
#0343DF
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2247AF #AF8A22
analogous
#228DAF #2247AF #4322AF
triadic
#2247AF #AF2247 #47AF22
tetradic
#2247AF #AF228D #AF8A22 #22AF43
square
#2247AF #AF228D #AF8A22 #22AF43
split-complementary
#2247AF #AF4322 #8DAF22
monochromatic
#0E1D49 #18327C #2247AF #3661D8 #6989E2
Accessibility & contrast
On white
8.11
#2247AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2247AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2247AF
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2247AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2247AF | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2247af; /* rgb */ color: rgb(34, 71, 175); /* oklch */ color: oklch(43.9% 0.171 265.0);
Tailwind
colors: {
custom: {
50: '#7579c8',
500: '#2247af',
950: '#000000',
},
}SCSS
$custom: #2247af; $custom-light: #7579c8; $custom-dark: #000000;
JSON
{
"hex": "#2247af",
"rgb": {
"r": 34,
"g": 71,
"b": 175
},
"hsl": {
"h": 224.255,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.43948,
"c": 0.17139,
"h": 265
},
"luminance": 0.07942
}Semantic roles & 50–950 ramp
primary
#2247AF
secondary
#C8AE65
accent
#BD3DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82