#224FB5#224FB5

#224FB5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.170 H 263.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#224FB5
RGBrgb(34, 79, 181)
HSLhsl(222, 68%, 42%)
HSVhsv(222, 81%, 71%)
CMYKcmyk(81.2%, 56.4%, 0%, 29%)
CIE-LABlab(36.49, 23.12, -58.33)
CIE-LCHlch(36.49, 62.75, 291.62°)
OKLaboklab(46.08% -0.0198 -0.1684)
OKLCHoklch(46.08% 0.17 263.3)
XYZxyz(11.7932, 9.2668, 44.8742)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224FB5 #B58822
analogous
#2298B5 #224FB5 #3F22B5
triadic
#224FB5 #B5224F #4FB522
tetradic
#224FB5 #B52298 #B58822 #22B53F
square
#224FB5 #B52298 #B58822 #22B53F
split-complementary
#224FB5 #B53F22 #98B522
monochromatic
#0F224E #183981 #224FB5 #3A6BDA #6E92E4

Accessibility & contrast

On white

7.36
#224FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#224FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224FB5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224FB5#FFFFFF#000000##FFFFFF
##224FB51.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #224fb5;
/* rgb */ color: rgb(34, 79, 181);
/* oklch */ color: oklch(46.1% 0.170 263.3);
Tailwind
colors: {
  custom: {
    50: '#767fcc',
    500: '#224fb5',
    950: '#000000',
  },
}
SCSS
$custom: #224fb5;
$custom-light: #767fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#224fb5",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 221.633,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.1696,
    "h": 263.3
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#224FB5
secondary
#CAAC69
accent
#B63DEB
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #224FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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