#224DB5#224DB5

#224DB5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.172 H 263.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#224DB5
RGBrgb(34, 77, 181)
HSLhsl(222, 68%, 42%)
HSVhsv(222, 81%, 71%)
CMYKcmyk(81.2%, 57.5%, 0%, 29%)
CIE-LABlab(35.95, 24.45, -59.21)
CIE-LCHlch(35.95, 64.06, 292.44°)
OKLaboklab(45.67% -0.0184 -0.1711)
OKLCHoklch(45.67% 0.172 263.8)
XYZxyz(11.6511, 8.9826, 44.8269)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224DB5 #B58A22
analogous
#2297B5 #224DB5 #4122B5
triadic
#224DB5 #B5224D #4DB522
tetradic
#224DB5 #B52297 #B58A22 #22B541
square
#224DB5 #B52297 #B58A22 #22B541
split-complementary
#224DB5 #B54122 #97B522
monochromatic
#0F214E #183781 #224DB5 #3A69DA #6E90E4

Accessibility & contrast

On white

7.51
#224DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#224DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224DB5
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224DB5#FFFFFF#000000##FFFFFF
##224DB51.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #224db5;
/* rgb */ color: rgb(34, 77, 181);
/* oklch */ color: oklch(45.7% 0.172 263.8);
Tailwind
colors: {
  custom: {
    50: '#767ecc',
    500: '#224db5',
    950: '#000000',
  },
}
SCSS
$custom: #224db5;
$custom-light: #767ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#224db5",
  "rgb": {
    "r": 34,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 222.449,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45669,
    "c": 0.17205,
    "h": 263.8
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #224DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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