#2225A8#2225A8

#2225A8 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.5% C 0.200 H 270.6°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2225A8
RGBrgb(34, 37, 168)
HSLhsl(239, 66%, 40%)
HSVhsv(239, 80%, 66%)
CMYKcmyk(79.8%, 78%, 0%, 34.1%)
CIE-LABlab(25.23, 44.89, -69.06)
CIE-LCHlch(25.23, 82.37, 303.03°)
OKLaboklab(37.46% 0.0019 -0.2)
OKLCHoklch(37.46% 0.2 270.6)
XYZxyz(8.3867, 4.4894, 37.4627)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2225A8 #A8A522
analogous
#2268A8 #2225A8 #6222A8
triadic
#2225A8 #A82225 #25A822
tetradic
#2225A8 #A82268 #A8A522 #22A862
square
#2225A8 #A82268 #A8A522 #22A862
split-complementary
#2225A8 #A86222 #68A822
monochromatic
#0D0F42 #181A75 #2225A8 #3235D5 #6567E0

Accessibility & contrast

On white

11.06
#2225A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2225A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2225A8
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2225A8#FFFFFF#000000##FFFFFF
##2225A81.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0035A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2225a8;
/* rgb */ color: rgb(34, 37, 168);
/* oklch */ color: oklch(37.5% 0.200 270.6);
Tailwind
colors: {
  custom: {
    50: '#7662c3',
    500: '#2225a8',
    950: '#000000',
  },
}
SCSS
$custom: #2225a8;
$custom-light: #7662c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2225a8",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 238.657,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3746,
    "c": 0.20001,
    "h": 270.6
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2225A8

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

Preview Lab → · Contrast checker → · Palette generator →

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