#2247B3#2247B3
#2247B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.177 H 265.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2247B3 |
|---|---|
| RGB | rgb(34, 71, 179) |
| HSL | hsl(225, 68%, 42%) |
| HSV | hsv(225, 81%, 70%) |
| CMYK | cmyk(81%, 60.3%, 0%, 29.8%) |
| CIE-LAB | lab(34.19, 27.67, -60.90) |
| CIE-LCH | lch(34.19, 66.89, 294.43°) |
| OKLab | oklab(44.3% -0.0148 -0.1761) |
| OKLCH | oklch(44.3% 0.177 265.2) |
| XYZ | xyz(11.0467, 8.0999, 43.6203) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.58
Blue Blue
#2242C7
ΔE00 3.41
Sapphire
#0F52BA
ΔE00 4.23
Sapphire (survey)
#2138AB
ΔE00 4.69
Cobalt (survey)
#1E488F
ΔE00 5.54
Blue (survey)
#0343DF
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2247B3 #B38E22
analogous
#2290B3 #2247B3 #4622B3
triadic
#2247B3 #B32247 #47B322
tetradic
#2247B3 #B32290 #B38E22 #22B346
square
#2247B3 #B32290 #B38E22 #22B346
split-complementary
#2247B3 #B34622 #90B322
monochromatic
#0E1E4C #183380 #2247B3 #3962D9 #6C8BE3
Accessibility & contrast
On white
8.01
#2247B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2247B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2247B3
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2247B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2247B3 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2247b3; /* rgb */ color: rgb(34, 71, 179); /* oklch */ color: oklch(44.3% 0.177 265.2);
Tailwind
colors: {
custom: {
50: '#7679cb',
500: '#2247b3',
950: '#000000',
},
}SCSS
$custom: #2247b3; $custom-light: #7679cb; $custom-dark: #000000;
JSON
{
"hex": "#2247b3",
"rgb": {
"r": 34,
"g": 71,
"b": 179
},
"hsl": {
"h": 224.69,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.44299,
"c": 0.17674,
"h": 265.2
},
"luminance": 0.08101
}Semantic roles & 50–950 ramp
primary
#2247B3
secondary
#C9B068
accent
#BF3DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82