#2247B5#2247B5
#2247B5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.179 H 265.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2247B5 |
|---|---|
| RGB | rgb(34, 71, 181) |
| HSL | hsl(225, 68%, 42%) |
| HSV | hsv(225, 81%, 71%) |
| CMYK | cmyk(81.2%, 60.8%, 0%, 29%) |
| CIE-LAB | lab(34.36, 28.44, -61.81) |
| CIE-LCH | lch(34.36, 68.04, 294.71°) |
| OKLab | oklab(44.48% -0.0147 -0.1788) |
| OKLCH | oklch(44.48% 0.179 265.3) |
| XYZ | xyz(11.2505, 8.1814, 44.6933) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.80
Blue Blue
#2242C7
ΔE00 3.15
Sapphire
#0F52BA
ΔE00 4.25
Sapphire (survey)
#2138AB
ΔE00 4.70
Blue (survey)
#0343DF
ΔE00 5.43
Cobalt (survey)
#1E488F
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2247B5 #B59022
analogous
#2291B5 #2247B5 #4722B5
triadic
#2247B5 #B52247 #47B522
tetradic
#2247B5 #B52291 #B59022 #22B547
square
#2247B5 #B52291 #B59022 #22B547
split-complementary
#2247B5 #B54722 #91B522
monochromatic
#0F1F4E #183381 #2247B5 #3A62DA #6E8BE4
Accessibility & contrast
On white
7.96
#2247B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2247B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2247B5
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2247B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2247B5 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2247b5; /* rgb */ color: rgb(34, 71, 181); /* oklch */ color: oklch(44.5% 0.179 265.3);
Tailwind
colors: {
custom: {
50: '#7779cc',
500: '#2247b5',
950: '#000000',
},
}SCSS
$custom: #2247b5; $custom-light: #7779cc; $custom-dark: #000000;
JSON
{
"hex": "#2247b5",
"rgb": {
"r": 34,
"g": 71,
"b": 181
},
"hsl": {
"h": 224.898,
"s": 68.372,
"l": 42.157
},
"oklch": {
"l": 0.44476,
"c": 0.17939,
"h": 265.3
},
"luminance": 0.08183
}Semantic roles & 50–950 ramp
primary
#2247B5
secondary
#CAB269
accent
#BF3DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82