#2225A9#2225A9

#2225A9 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.6% C 0.201 H 270.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2225A9
RGBrgb(34, 37, 169)
HSLhsl(239, 67%, 40%)
HSVhsv(239, 80%, 66%)
CMYKcmyk(79.9%, 78.1%, 0%, 33.7%)
CIE-LABlab(25.34, 45.23, -69.48)
CIE-LCHlch(25.34, 82.90, 303.06°)
OKLaboklab(37.57% 0.0017 -0.2012)
OKLCHoklch(37.57% 0.201 270.5)
XYZxyz(8.4803, 4.5268, 37.9552)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2225A9 #A9A622
analogous
#2268A9 #2225A9 #6322A9
triadic
#2225A9 #A92225 #25A922
tetradic
#2225A9 #A92268 #A9A622 #22A963
square
#2225A9 #A92268 #A9A622 #22A963
split-complementary
#2225A9 #A96322 #68A922
monochromatic
#0D0F43 #181A76 #2225A9 #3236D6 #6568E0

Accessibility & contrast

On white

11.02
#2225A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2225A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2225A9
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2225A9#FFFFFF#000000##FFFFFF
##2225A91.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0035A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2225a9;
/* rgb */ color: rgb(34, 37, 169);
/* oklch */ color: oklch(37.6% 0.201 270.5);
Tailwind
colors: {
  custom: {
    50: '#7762c4',
    500: '#2225a9',
    950: '#000000',
  },
}
SCSS
$custom: #2225a9;
$custom-light: #7762c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2225a9",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 238.667,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37574,
    "c": 0.20121,
    "h": 270.5
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#2225A9
secondary
#C5C361
accent
#E63EE9
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2225A9

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

Preview Lab → · Contrast checker → · Palette generator →

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