#224CB3#224CB3
#224CB3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.171 H 264.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #224CB3 |
|---|---|
| RGB | rgb(34, 76, 179) |
| HSL | hsl(223, 68%, 42%) |
| HSV | hsv(223, 81%, 70%) |
| CMYK | cmyk(81%, 57.5%, 0%, 29.8%) |
| CIE-LAB | lab(35.52, 24.34, -58.73) |
| CIE-LCH | lch(35.52, 63.57, 292.51°) |
| OKLab | oklab(45.3% -0.0179 -0.1697) |
| OKLCH | oklch(45.3% 0.171 264) |
| XYZ | xyz(11.3779, 8.7623, 43.7307) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.45
Sapphire
#0F52BA
ΔE00 2.62
Blue Blue
#2242C7
ΔE00 4.62
Cobalt (survey)
#1E488F
ΔE00 5.15
Dusk Blue
#26538D
ΔE00 6.08
Blue (survey)
#0343DF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#224CB3 #B38922
analogous
#2295B3 #224CB3 #4122B3
triadic
#224CB3 #B3224C #4CB322
tetradic
#224CB3 #B32295 #B38922 #22B341
square
#224CB3 #B32295 #B38922 #22B341
split-complementary
#224CB3 #B34122 #95B322
monochromatic
#0E204C #183680 #224CB3 #3967D9 #6C8FE3
Accessibility & contrast
On white
7.63
#224CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#224CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #224CB3
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##224CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##224CB3 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #224cb3; /* rgb */ color: rgb(34, 76, 179); /* oklch */ color: oklch(45.3% 0.171 264.0);
Tailwind
colors: {
custom: {
50: '#767dcb',
500: '#224cb3',
950: '#000000',
},
}SCSS
$custom: #224cb3; $custom-light: #767dcb; $custom-dark: #000000;
JSON
{
"hex": "#224cb3",
"rgb": {
"r": 34,
"g": 76,
"b": 179
},
"hsl": {
"h": 222.621,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.45297,
"c": 0.1706,
"h": 264
},
"luminance": 0.08764
}Semantic roles & 50–950 ramp
primary
#224CB3
secondary
#C9AD68
accent
#B93DEB
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82