#224FB4#224FB4

#224FB4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.168 H 263.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#224FB4
RGBrgb(34, 79, 180)
HSLhsl(222, 68%, 42%)
HSVhsv(222, 81%, 71%)
CMYKcmyk(81.1%, 56.1%, 0%, 29.4%)
CIE-LABlab(36.42, 22.73, -57.87)
CIE-LCHlch(36.42, 62.17, 291.45°)
OKLaboklab(46% -0.0198 -0.1671)
OKLCHoklch(46% 0.168 263.2)
XYZxyz(11.6909, 9.2259, 44.3358)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224FB4 #B48722
analogous
#2298B4 #224FB4 #3E22B4
triadic
#224FB4 #B4224F #4FB422
tetradic
#224FB4 #B42298 #B48722 #22B43E
square
#224FB4 #B42298 #B48722 #22B43E
split-complementary
#224FB4 #B43E22 #98B422
monochromatic
#0F224D #183881 #224FB4 #3A6BDA #6D91E3

Accessibility & contrast

On white

7.38
#224FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224FB4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224FB4#FFFFFF#000000##FFFFFF
##224FB41.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #224fb4;
/* rgb */ color: rgb(34, 79, 180);
/* oklch */ color: oklch(46.0% 0.168 263.2);
Tailwind
colors: {
  custom: {
    50: '#767fcb',
    500: '#224fb4',
    950: '#000000',
  },
}
SCSS
$custom: #224fb4;
$custom-light: #767fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#224fb4",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 221.507,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45995,
    "c": 0.16824,
    "h": 263.2
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#224FB4
secondary
#CAAC68
accent
#B53DEB
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #224FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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