#224AB2#224AB2
#224AB2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.172 H 264.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #224AB2 |
|---|---|
| RGB | rgb(34, 74, 178) |
| HSL | hsl(223, 68%, 42%) |
| HSV | hsv(223, 81%, 70%) |
| CMYK | cmyk(80.9%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(34.90, 25.29, -59.14) |
| CIE-LCH | lch(34.90, 64.32, 293.15°) |
| OKLab | oklab(44.81% -0.0167 -0.1709) |
| OKLCH | oklch(44.81% 0.172 264.4) |
| XYZ | xyz(11.1415, 8.4507, 43.1548) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.26
Sapphire
#0F52BA
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 4.21
Cobalt (survey)
#1E488F
ΔE00 5.10
Sapphire (survey)
#2138AB
ΔE00 5.71
Blue (survey)
#0343DF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#224AB2 #B28A22
analogous
#2292B2 #224AB2 #4222B2
triadic
#224AB2 #B2224A #4AB222
tetradic
#224AB2 #B22292 #B28A22 #22B242
square
#224AB2 #B22292 #B28A22 #22B242
split-complementary
#224AB2 #B24222 #92B222
monochromatic
#0E1F4B #18357F #224AB2 #3865D9 #6C8DE3
Accessibility & contrast
On white
7.81
#224AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#224AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #224AB2
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##224AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##224AB2 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #224ab2; /* rgb */ color: rgb(34, 74, 178); /* oklch */ color: oklch(44.8% 0.172 264.4);
Tailwind
colors: {
custom: {
50: '#767cca',
500: '#224ab2',
950: '#000000',
},
}SCSS
$custom: #224ab2; $custom-light: #767cca; $custom-dark: #000000;
JSON
{
"hex": "#224ab2",
"rgb": {
"r": 34,
"g": 74,
"b": 178
},
"hsl": {
"h": 223.333,
"s": 67.925,
"l": 41.569
},
"oklch": {
"l": 0.44808,
"c": 0.17172,
"h": 264.4
},
"luminance": 0.08452
}Semantic roles & 50–950 ramp
primary
#224AB2
secondary
#C9AE67
accent
#BB3DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82