#2224D5#2224D5

#2224D5 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.6% C 0.252 H 268.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2224D5
RGBrgb(34, 36, 213)
HSLhsl(239, 72%, 48%)
HSVhsv(239, 84%, 84%)
CMYKcmyk(84%, 83.1%, 0%, 16.5%)
CIE-LABlab(30.41, 59.52, -87.06)
CIE-LCHlch(30.41, 105.45, 304.36°)
OKLaboklab(42.61% -0.0065 -0.252)
OKLCHoklch(42.61% 0.252 268.5)
XYZxyz(13.2967, 6.4043, 63.4732)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2224D5 #D5D322
analogous
#227DD5 #2224D5 #7A22D5
triadic
#2224D5 #D52224 #24D522
tetradic
#2224D5 #D5227D #D5D322 #22D57A
square
#2224D5 #D5227D #D5D322 #22D57A
split-complementary
#2224D5 #D57A22 #7DD522
monochromatic
#11126B #1A1BA0 #2224D5 #5153E3 #8687EC

Accessibility & contrast

On white

9.21
#2224D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2224D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2224D5
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2224D5#FFFFFF#000000##FFFFFF
##2224D51.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051DA
Deuteranopia (green-blind)
#003ED2
Tritanopia (blue-blind)
#005F80
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2224d5;
/* rgb */ color: rgb(34, 36, 213);
/* oklch */ color: oklch(42.6% 0.252 268.5);
Tailwind
colors: {
  custom: {
    50: '#8264e4',
    500: '#2224d5',
    950: '#000000',
  },
}
SCSS
$custom: #2224d5;
$custom-light: #8264e4;
$custom-dark: #000000;
JSON
{
  "hex": "#2224d5",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 213
  },
  "hsl": {
    "h": 239.33,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.42608,
    "c": 0.25212,
    "h": 268.5
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#2224D5
secondary
#D5D47E
accent
#ED39EF
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2224D5

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

Preview Lab → · Contrast checker → · Palette generator →

#2224D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva