#2247B2#2247B2
#2247B2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.175 H 265.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2247B2 |
|---|---|
| RGB | rgb(34, 71, 178) |
| HSL | hsl(225, 68%, 42%) |
| HSV | hsv(225, 81%, 70%) |
| CMYK | cmyk(80.9%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(34.11, 27.29, -60.45) |
| CIE-LCH | lch(34.11, 66.32, 294.29°) |
| OKLab | oklab(44.21% -0.0148 -0.1748) |
| OKLCH | oklch(44.21% 0.175 265.2) |
| XYZ | xyz(10.9460, 8.0596, 43.0896) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.48
Blue Blue
#2242C7
ΔE00 3.55
Sapphire
#0F52BA
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 5.41
Blue (survey)
#0343DF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2247B2 #B28D22
analogous
#228FB2 #2247B2 #4522B2
triadic
#2247B2 #B22247 #47B222
tetradic
#2247B2 #B2228F #B28D22 #22B245
square
#2247B2 #B2228F #B28D22 #22B245
split-complementary
#2247B2 #B24522 #8FB222
monochromatic
#0E1E4B #18337F #2247B2 #3862D9 #6C8AE3
Accessibility & contrast
On white
8.04
#2247B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2247B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2247B2
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2247B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2247B2 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2247b2; /* rgb */ color: rgb(34, 71, 178); /* oklch */ color: oklch(44.2% 0.175 265.2);
Tailwind
colors: {
custom: {
50: '#7679ca',
500: '#2247b2',
950: '#000000',
},
}SCSS
$custom: #2247b2; $custom-light: #7679ca; $custom-dark: #000000;
JSON
{
"hex": "#2247b2",
"rgb": {
"r": 34,
"g": 71,
"b": 178
},
"hsl": {
"h": 224.583,
"s": 67.925,
"l": 41.569
},
"oklch": {
"l": 0.44211,
"c": 0.17541,
"h": 265.2
},
"luminance": 0.08061
}Semantic roles & 50–950 ramp
primary
#2247B2
secondary
#C9B067
accent
#BE3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82