#222990#222990

#222990 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.166 H 271.4°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#222990
RGBrgb(34, 41, 144)
HSLhsl(236, 62%, 35%)
HSVhsv(236, 76%, 56%)
CMYKcmyk(76.4%, 71.5%, 0%, 43.5%)
CIE-LABlab(23.47, 34.19, -57.29)
CIE-LCHlch(23.47, 66.72, 300.83°)
OKLaboklab(35.44% 0.0041 -0.1658)
OKLCHoklch(35.44% 0.166 271.4)
XYZxyz(6.4850, 3.9389, 26.7987)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222990 #908922
analogous
#226090 #222990 #522290
triadic
#222990 #902229 #299022
tetradic
#222990 #902260 #908922 #229052
square
#222990 #902260 #908922 #229052
split-complementary
#222990 #905222 #609022
monochromatic
#0B0D2D #161B5E #222990 #2E37C2 #555ED7

Accessibility & contrast

On white

11.74
#222990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#222990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222990
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222990#FFFFFF#000000##FFFFFF
##2229901.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222990;
/* rgb */ color: rgb(34, 41, 144);
/* oklch */ color: oklch(35.4% 0.166 271.4);
Tailwind
colors: {
  custom: {
    50: '#7063b2',
    500: '#222990',
    950: '#000000',
  },
}
SCSS
$custom: #222990;
$custom-light: #7063b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222990",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 236.182,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35437,
    "c": 0.16584,
    "h": 271.4
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#222990
secondary
#BBB453
accent
#DB43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222990

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

Preview Lab → · Contrast checker → · Palette generator →

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