#222AA0#222AA0

#222AA0 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.185 H 270.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#222AA0
RGBrgb(34, 42, 160)
HSLhsl(236, 65%, 38%)
HSVhsv(236, 79%, 63%)
CMYKcmyk(78.8%, 73.8%, 0%, 37.3%)
CIE-LABlab(25.36, 39.28, -63.99)
CIE-LCHlch(25.36, 75.09, 301.55°)
OKLaboklab(37.3% 0.0014 -0.1853)
OKLCHoklch(37.3% 0.185 270.4)
XYZxyz(7.8307, 4.5332, 33.7132)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222AA0 #A09822
analogous
#2269A0 #222AA0 #5922A0
triadic
#222AA0 #A0222A #2AA022
tetradic
#222AA0 #A02269 #A09822 #22A059
square
#222AA0 #A02269 #A09822 #22A059
split-complementary
#222AA0 #A05922 #69A022
monochromatic
#0D103B #171D6E #222AA0 #2D37D2 #5F67DD

Accessibility & contrast

On white

11.01
#222AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#222AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222AA0
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222AA0#FFFFFF#000000##FFFFFF
##222AA01.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222aa0;
/* rgb */ color: rgb(34, 42, 160);
/* oklch */ color: oklch(37.3% 0.185 270.4);
Tailwind
colors: {
  custom: {
    50: '#7464bd',
    500: '#222aa0',
    950: '#000000',
  },
}
SCSS
$custom: #222aa0;
$custom-light: #7464bd;
$custom-dark: #000000;
JSON
{
  "hex": "#222aa0",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 236.19,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37295,
    "c": 0.18532,
    "h": 270.4
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#222AA0
secondary
#C2BB5C
accent
#DD40E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #222AA0

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

Preview Lab → · Contrast checker → · Palette generator →

#222AA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva