#2225AC#2225AC

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

Color values

HEX#2225AC
RGBrgb(34, 37, 172)
HSLhsl(239, 67%, 40%)
HSVhsv(239, 80%, 67%)
CMYKcmyk(80.2%, 78.5%, 0%, 32.5%)
CIE-LABlab(25.69, 46.22, -70.71)
CIE-LCHlch(25.69, 84.48, 303.17°)
OKLaboklab(37.92% 0.0012 -0.2048)
OKLCHoklch(37.92% 0.205 270.3)
XYZxyz(8.7651, 4.6408, 39.4555)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2225AC #ACA922
analogous
#226AAC #2225AC #6422AC
triadic
#2225AC #AC2225 #25AC22
tetradic
#2225AC #AC226A #ACA922 #22AC64
square
#2225AC #AC226A #ACA922 #22AC64
split-complementary
#2225AC #AC6422 #6AAC22
monochromatic
#0E0F46 #181A79 #2225AC #3438D7 #676AE1

Accessibility & contrast

On white

10.89
#2225AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2225AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2225AC
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2225AC#FFFFFF#000000##FFFFFF
##2225AC1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2225ac;
/* rgb */ color: rgb(34, 37, 172);
/* oklch */ color: oklch(37.9% 0.205 270.3);
Tailwind
colors: {
  custom: {
    50: '#7762c6',
    500: '#2225ac',
    950: '#000000',
  },
}
SCSS
$custom: #2225ac;
$custom-light: #7762c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2225ac",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 238.696,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37916,
    "c": 0.20479,
    "h": 270.3
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2225AC

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

Preview Lab → · Contrast checker → · Palette generator →

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