#2225AD#2225AD

#2225AD is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.0% C 0.206 H 270.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2225AD
RGBrgb(34, 37, 173)
HSLhsl(239, 67%, 41%)
HSVhsv(239, 80%, 68%)
CMYKcmyk(80.3%, 78.6%, 0%, 32.2%)
CIE-LABlab(25.80, 46.55, -71.13)
CIE-LCHlch(25.80, 85.00, 303.20°)
OKLaboklab(38.03% 0.001 -0.206)
OKLCHoklch(38.03% 0.206 270.3)
XYZxyz(8.8615, 4.6793, 39.9632)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2225AD #ADAA22
analogous
#226AAD #2225AD #6422AD
triadic
#2225AD #AD2225 #25AD22
tetradic
#2225AD #AD226A #ADAA22 #22AD64
square
#2225AD #AD226A #ADAA22 #22AD64
split-complementary
#2225AD #AD6422 #6AAD22
monochromatic
#0E0F47 #181A7A #2225AD #3538D7 #686BE1

Accessibility & contrast

On white

10.85
#2225AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2225AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2225AD
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2225AD#FFFFFF#000000##FFFFFF
##2225AD1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2225ad;
/* rgb */ color: rgb(34, 37, 173);
/* oklch */ color: oklch(38.0% 0.206 270.3);
Tailwind
colors: {
  custom: {
    50: '#7862c7',
    500: '#2225ad',
    950: '#000000',
  },
}
SCSS
$custom: #2225ad;
$custom-light: #7862c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2225ad",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 238.705,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3803,
    "c": 0.20598,
    "h": 270.3
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#2225AD
secondary
#C7C564
accent
#E63EEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2225AD

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

Preview Lab → · Contrast checker → · Palette generator →

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