#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
RGBrgb(34, 78, 181)
HSLhsl(222, 68%, 42%)
HSVhsv(222, 81%, 71%)
CMYKcmyk(81.2%, 56.9%, 0%, 29%)
CIE-LABlab(36.22, 23.79, -58.77)
CIE-LCHlch(36.22, 63.40, 292.03°)
OKLaboklab(45.87% -0.0191 -0.1698)
OKLCHoklch(45.87% 0.171 263.6)
XYZxyz(11.7216, 9.1237, 44.8504)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##224EB51.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.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

Preview Lab

Preview with #224EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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