#222790#222790

#222790 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.168 H 271.8°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#222790
RGBrgb(34, 39, 144)
HSLhsl(237, 62%, 35%)
HSVhsv(237, 76%, 56%)
CMYKcmyk(76.4%, 72.9%, 0%, 43.5%)
CIE-LABlab(23.01, 35.44, -58.04)
CIE-LCHlch(23.01, 68.00, 301.41°)
OKLaboklab(35.11% 0.0052 -0.168)
OKLCHoklch(35.11% 0.168 271.8)
XYZxyz(6.4175, 3.8041, 26.7762)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222790 #908B22
analogous
#225E90 #222790 #542290
triadic
#222790 #902227 #279022
tetradic
#222790 #90225E #908B22 #229054
square
#222790 #90225E #908B22 #229054
split-complementary
#222790 #905422 #5E9022
monochromatic
#0B0C2D #161A5E #222790 #2E34C2 #555BD7

Accessibility & contrast

On white

11.93
#222790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#222790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222790
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222790#FFFFFF#000000##FFFFFF
##2227901.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222790;
/* rgb */ color: rgb(34, 39, 144);
/* oklch */ color: oklch(35.1% 0.168 271.8);
Tailwind
colors: {
  custom: {
    50: '#7062b2',
    500: '#222790',
    950: '#000000',
  },
}
SCSS
$custom: #222790;
$custom-light: #7062b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222790",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 237.273,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35109,
    "c": 0.16805,
    "h": 271.8
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#222790
secondary
#BBB653
accent
#DE43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222790

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

Preview Lab → · Contrast checker → · Palette generator →

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