#224EB4#224EB4

#224EB4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.169 H 263.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#224EB4
RGBrgb(34, 78, 180)
HSLhsl(222, 68%, 42%)
HSVhsv(222, 81%, 71%)
CMYKcmyk(81.1%, 56.7%, 0%, 29.4%)
CIE-LABlab(36.14, 23.40, -58.31)
CIE-LCHlch(36.14, 62.83, 291.86°)
OKLaboklab(45.79% -0.0192 -0.1684)
OKLCHoklch(45.79% 0.169 263.5)
XYZxyz(11.6194, 9.0828, 44.3119)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224EB4 #B48822
analogous
#2297B4 #224EB4 #3F22B4
triadic
#224EB4 #B4224E #4EB422
tetradic
#224EB4 #B42297 #B48822 #22B43F
square
#224EB4 #B42297 #B48822 #22B43F
split-complementary
#224EB4 #B43F22 #97B422
monochromatic
#0F214D #183881 #224EB4 #3A6ADA #6D91E3

Accessibility & contrast

On white

7.46
#224EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#224EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224EB4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224EB4#FFFFFF#000000##FFFFFF
##224EB41.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #224eb4;
/* rgb */ color: rgb(34, 78, 180);
/* oklch */ color: oklch(45.8% 0.169 263.5);
Tailwind
colors: {
  custom: {
    50: '#767fcb',
    500: '#224eb4',
    950: '#000000',
  },
}
SCSS
$custom: #224eb4;
$custom-light: #767fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#224eb4",
  "rgb": {
    "r": 34,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 221.918,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45789,
    "c": 0.16948,
    "h": 263.5
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #224EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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