#2247B1#2247B1
#2247B1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.174 H 265.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2247B1 |
|---|---|
| RGB | rgb(34, 71, 177) |
| HSL | hsl(224, 68%, 41%) |
| HSV | hsv(224, 81%, 69%) |
| CMYK | cmyk(80.8%, 59.9%, 0%, 30.6%) |
| CIE-LAB | lab(34.02, 26.90, -59.99) |
| CIE-LCH | lch(34.02, 65.74, 294.15°) |
| OKLab | oklab(44.12% -0.0148 -0.1734) |
| OKLCH | oklch(44.12% 0.174 265.1) |
| XYZ | xyz(10.8459, 8.0196, 42.5628) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.38
Blue Blue
#2242C7
ΔE00 3.68
Sapphire
#0F52BA
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 5.27
Blue (survey)
#0343DF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2247B1 #B18C22
analogous
#228FB1 #2247B1 #4522B1
triadic
#2247B1 #B12247 #47B122
tetradic
#2247B1 #B1228F #B18C22 #22B145
square
#2247B1 #B1228F #B18C22 #22B145
split-complementary
#2247B1 #B14522 #8FB122
monochromatic
#0E1E4A #18327E #2247B1 #3861D9 #6B8AE3
Accessibility & contrast
On white
8.06
#2247B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2247B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2247B1
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2247B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2247B1 | 1.00 | 8.06 | 2.60 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2247b1; /* rgb */ color: rgb(34, 71, 177); /* oklch */ color: oklch(44.1% 0.174 265.1);
Tailwind
colors: {
custom: {
50: '#7679c9',
500: '#2247b1',
950: '#000000',
},
}SCSS
$custom: #2247b1; $custom-light: #7679c9; $custom-dark: #000000;
JSON
{
"hex": "#2247b1",
"rgb": {
"r": 34,
"g": 71,
"b": 177
},
"hsl": {
"h": 224.476,
"s": 67.773,
"l": 41.373
},
"oklch": {
"l": 0.44123,
"c": 0.17406,
"h": 265.1
},
"luminance": 0.08021
}Semantic roles & 50–950 ramp
primary
#2247B1
secondary
#C9AF66
accent
#BE3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82