#2224AD#2224AD

#2224AD is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.207 H 270.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2224AD
RGBrgb(34, 36, 173)
HSLhsl(239, 67%, 41%)
HSVhsv(239, 80%, 68%)
CMYKcmyk(80.3%, 79.2%, 0%, 32.2%)
CIE-LABlab(25.62, 47.07, -71.43)
CIE-LCHlch(25.62, 85.55, 303.39°)
OKLaboklab(37.9% 0.0013 -0.2068)
OKLCHoklch(37.9% 0.207 270.3)
XYZxyz(8.8308, 4.6180, 39.9530)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2224AD #ADAB22
analogous
#2269AD #2224AD #6622AD
triadic
#2224AD #AD2224 #24AD22
tetradic
#2224AD #AD2269 #ADAB22 #22AD66
square
#2224AD #AD2269 #ADAB22 #22AD66
split-complementary
#2224AD #AD6622 #69AD22
monochromatic
#0E0F47 #18197A #2224AD #3537D7 #686AE1

Accessibility & contrast

On white

10.92
#2224AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2224AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2224AD
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2224AD#FFFFFF#000000##FFFFFF
##2224AD1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#0035AB
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2224ad;
/* rgb */ color: rgb(34, 36, 173);
/* oklch */ color: oklch(37.9% 0.207 270.3);
Tailwind
colors: {
  custom: {
    50: '#7862c7',
    500: '#2224ad',
    950: '#000000',
  },
}
SCSS
$custom: #2224ad;
$custom-light: #7862c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2224ad",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 239.137,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37902,
    "c": 0.20685,
    "h": 270.3
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#2224AD
secondary
#C7C664
accent
#E83EEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2224AD

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

Preview Lab → · Contrast checker → · Palette generator →

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