#222890#222890

#222890 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.167 H 271.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#222890
RGBrgb(34, 40, 144)
HSLhsl(237, 62%, 35%)
HSVhsv(237, 76%, 56%)
CMYKcmyk(76.4%, 72.2%, 0%, 43.5%)
CIE-LABlab(23.24, 34.82, -57.67)
CIE-LCHlch(23.24, 67.36, 301.12°)
OKLaboklab(35.27% 0.0046 -0.1669)
OKLCHoklch(35.27% 0.167 271.6)
XYZxyz(6.4508, 3.8706, 26.7873)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222890 #908A22
analogous
#225F90 #222890 #532290
triadic
#222890 #902228 #289022
tetradic
#222890 #90225F #908A22 #229053
square
#222890 #90225F #908A22 #229053
split-complementary
#222890 #905322 #5F9022
monochromatic
#0B0C2D #161A5E #222890 #2E36C2 #555DD7

Accessibility & contrast

On white

11.84
#222890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#222890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222890
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222890#FFFFFF#000000##FFFFFF
##2228901.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222890;
/* rgb */ color: rgb(34, 40, 144);
/* oklch */ color: oklch(35.3% 0.167 271.6);
Tailwind
colors: {
  custom: {
    50: '#7063b2',
    500: '#222890',
    950: '#000000',
  },
}
SCSS
$custom: #222890;
$custom-light: #7063b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222890",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 236.727,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35272,
    "c": 0.16695,
    "h": 271.6
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#222890
secondary
#BBB553
accent
#DC43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222890

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

Preview Lab → · Contrast checker → · Palette generator →

#222890 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva