#224DB4#224DB4

#224DB4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.171 H 263.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#224DB4
RGBrgb(34, 77, 180)
HSLhsl(222, 68%, 42%)
HSVhsv(222, 81%, 71%)
CMYKcmyk(81.1%, 57.2%, 0%, 29.4%)
CIE-LABlab(35.87, 24.06, -58.75)
CIE-LCHlch(35.87, 63.49, 292.27°)
OKLaboklab(45.59% -0.0185 -0.1697)
OKLCHoklch(45.59% 0.171 263.8)
XYZxyz(11.5488, 8.9417, 44.2884)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224DB4 #B48922
analogous
#2296B4 #224DB4 #4022B4
triadic
#224DB4 #B4224D #4DB422
tetradic
#224DB4 #B42296 #B48922 #22B440
square
#224DB4 #B42296 #B48922 #22B440
split-complementary
#224DB4 #B44022 #96B422
monochromatic
#0F214D #183781 #224DB4 #3A69DA #6D90E3

Accessibility & contrast

On white

7.53
#224DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#224DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224DB4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224DB4#FFFFFF#000000##FFFFFF
##224DB41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #224db4;
/* rgb */ color: rgb(34, 77, 180);
/* oklch */ color: oklch(45.6% 0.171 263.8);
Tailwind
colors: {
  custom: {
    50: '#767ecb',
    500: '#224db4',
    950: '#000000',
  },
}
SCSS
$custom: #224db4;
$custom-light: #767ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#224db4",
  "rgb": {
    "r": 34,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 222.329,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45585,
    "c": 0.17072,
    "h": 263.8
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#224DB4
secondary
#CAAD68
accent
#B83DEB
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #224DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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