#224EB5#224EB5
#224EB5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.171 H 263.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #224EB5 |
|---|---|
| RGB | rgb(34, 78, 181) |
| HSL | hsl(222, 68%, 42%) |
| HSV | hsv(222, 81%, 71%) |
| CMYK | cmyk(81.2%, 56.9%, 0%, 29%) |
| CIE-LAB | lab(36.22, 23.79, -58.77) |
| CIE-LCH | lch(36.22, 63.40, 292.03°) |
| OKLab | oklab(45.87% -0.0191 -0.1698) |
| OKLCH | oklch(45.87% 0.171 263.6) |
| XYZ | xyz(11.7216, 9.1237, 44.8504) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.01
Cobalt
#0047AB
ΔE00 2.88
Blue Blue
#2242C7
ΔE00 4.99
Cobalt (survey)
#1E488F
ΔE00 5.43
Dusk Blue
#26538D
ΔE00 5.92
Denim Blue
#3B5B92
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#224EB5 #B58922
analogous
#2297B5 #224EB5 #4022B5
triadic
#224EB5 #B5224E #4EB522
tetradic
#224EB5 #B52297 #B58922 #22B540
square
#224EB5 #B52297 #B58922 #22B540
split-complementary
#224EB5 #B54022 #97B522
monochromatic
#0F224E #183881 #224EB5 #3A6ADA #6E91E4
Accessibility & contrast
On white
7.43
#224EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#224EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #224EB5
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##224EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##224EB5 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #224eb5; /* rgb */ color: rgb(34, 78, 181); /* oklch */ color: oklch(45.9% 0.171 263.6);
Tailwind
colors: {
custom: {
50: '#767fcc',
500: '#224eb5',
950: '#000000',
},
}SCSS
$custom: #224eb5; $custom-light: #767fcc; $custom-dark: #000000;
JSON
{
"hex": "#224eb5",
"rgb": {
"r": 34,
"g": 78,
"b": 181
},
"hsl": {
"h": 222.041,
"s": 68.372,
"l": 42.157
},
"oklch": {
"l": 0.45873,
"c": 0.17082,
"h": 263.6
},
"luminance": 0.09125
}Semantic roles & 50–950 ramp
primary
#224EB5
secondary
#CAAD69
accent
#B73DEB
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82