#222590#222590

#222590 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.170 H 272.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#222590
RGBrgb(34, 37, 144)
HSLhsl(238, 62%, 35%)
HSVhsv(238, 76%, 56%)
CMYKcmyk(76.4%, 74.3%, 0%, 43.5%)
CIE-LABlab(22.57, 36.67, -58.77)
CIE-LCHlch(22.57, 69.27, 301.96°)
OKLaboklab(34.79% 0.0062 -0.1701)
OKLCHoklch(34.79% 0.17 272.1)
XYZxyz(6.3536, 3.6762, 26.7549)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222590 #908D22
analogous
#225C90 #222590 #562290
triadic
#222590 #902225 #259022
tetradic
#222590 #90225C #908D22 #229056
square
#222590 #90225C #908D22 #229056
split-complementary
#222590 #905622 #5C9022
monochromatic
#0B0C2D #16185E #222590 #2E32C2 #5559D7

Accessibility & contrast

On white

12.10
#222590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#222590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222590
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222590#FFFFFF#000000##FFFFFF
##2225901.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222590;
/* rgb */ color: rgb(34, 37, 144);
/* oklch */ color: oklch(34.8% 0.170 272.1);
Tailwind
colors: {
  custom: {
    50: '#7061b2',
    500: '#222590',
    950: '#000000',
  },
}
SCSS
$custom: #222590;
$custom-light: #7061b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222590",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 238.364,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34793,
    "c": 0.1702,
    "h": 272.1
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#222590
secondary
#BBB853
accent
#E043E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222590

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

Preview Lab → · Contrast checker → · Palette generator →

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