#2225A0#2225A0

#2225A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.190 H 271.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2225A0
RGBrgb(34, 37, 160)
HSLhsl(239, 65%, 38%)
HSVhsv(239, 79%, 63%)
CMYKcmyk(78.8%, 76.9%, 0%, 37.3%)
CIE-LABlab(24.32, 42.21, -65.71)
CIE-LCHlch(24.32, 78.09, 302.71°)
OKLaboklab(36.56% 0.0034 -0.1903)
OKLCHoklch(36.56% 0.19 271)
XYZxyz(7.6643, 4.2004, 33.6577)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2225A0 #A09D22
analogous
#2264A0 #2225A0 #5E22A0
triadic
#2225A0 #A02225 #25A022
tetradic
#2225A0 #A02264 #A09D22 #22A05E
square
#2225A0 #A02264 #A09D22 #22A05E
split-complementary
#2225A0 #A05E22 #64A022
monochromatic
#0D0E3B #17196E #2225A0 #2D31D2 #5F62DD

Accessibility & contrast

On white

11.41
#2225A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2225A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2225A0
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2225A0#FFFFFF#000000##FFFFFF
##2225A01.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2225a0;
/* rgb */ color: rgb(34, 37, 160);
/* oklch */ color: oklch(36.6% 0.190 271.0);
Tailwind
colors: {
  custom: {
    50: '#7461bd',
    500: '#2225a0',
    950: '#000000',
  },
}
SCSS
$custom: #2225a0;
$custom-light: #7461bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2225a0",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 238.571,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36557,
    "c": 0.19029,
    "h": 271
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#2225A0
secondary
#C2BF5C
accent
#E440E8
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2225A0

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

Preview Lab → · Contrast checker → · Palette generator →

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