#224CB5#224CB5

#224CB5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.173 H 264.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#224CB5
RGBrgb(34, 76, 181)
HSLhsl(223, 68%, 42%)
HSVhsv(223, 81%, 71%)
CMYKcmyk(81.2%, 58%, 0%, 29%)
CIE-LABlab(35.68, 25.12, -59.65)
CIE-LCHlch(35.68, 64.72, 292.83°)
OKLaboklab(45.47% -0.0178 -0.1724)
OKLCHoklch(45.47% 0.173 264.1)
XYZxyz(11.5816, 8.8438, 44.8037)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224CB5 #B58B22
analogous
#2296B5 #224CB5 #4122B5
triadic
#224CB5 #B5224C #4CB522
tetradic
#224CB5 #B52296 #B58B22 #22B541
square
#224CB5 #B52296 #B58B22 #22B541
split-complementary
#224CB5 #B54122 #96B522
monochromatic
#0F214E #183681 #224CB5 #3A68DA #6E8FE4

Accessibility & contrast

On white

7.58
#224CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#224CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224CB5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224CB5#FFFFFF#000000##FFFFFF
##224CB51.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #224cb5;
/* rgb */ color: rgb(34, 76, 181);
/* oklch */ color: oklch(45.5% 0.173 264.1);
Tailwind
colors: {
  custom: {
    50: '#767dcc',
    500: '#224cb5',
    950: '#000000',
  },
}
SCSS
$custom: #224cb5;
$custom-light: #767dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#224cb5",
  "rgb": {
    "r": 34,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 222.857,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45467,
    "c": 0.17329,
    "h": 264.1
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#224CB5
secondary
#CAAE69
accent
#B93DEB
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #224CB5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#224CB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva