#222290#222290

#222290 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.173 H 272.5°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#222290
RGBrgb(34, 34, 144)
HSLhsl(240, 62%, 35%)
HSVhsv(240, 76%, 56%)
CMYKcmyk(76.4%, 76.4%, 0%, 43.5%)
CIE-LABlab(21.93, 38.46, -59.82)
CIE-LCHlch(21.93, 71.11, 302.74°)
OKLaboklab(34.34% 0.0076 -0.1731)
OKLCHoklch(34.34% 0.173 272.5)
XYZxyz(6.2641, 3.4971, 26.7250)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222290 #909022
analogous
#225990 #222290 #592290
triadic
#222290 #902222 #229022
tetradic
#222290 #902259 #909022 #229059
square
#222290 #902259 #909022 #229059
split-complementary
#222290 #905922 #599022
monochromatic
#0B0B2D #16165E #222290 #2E2EC2 #5555D7

Accessibility & contrast

On white

12.36
#222290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#222290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222290
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222290#FFFFFF#000000##FFFFFF
##2222901.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222290;
/* rgb */ color: rgb(34, 34, 144);
/* oklch */ color: oklch(34.3% 0.173 272.5);
Tailwind
colors: {
  custom: {
    50: '#715fb2',
    500: '#222290',
    950: '#000000',
  },
}
SCSS
$custom: #222290;
$custom-light: #715fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#222290",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3434,
    "c": 0.17329,
    "h": 272.5
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#222290
secondary
#BBBB53
accent
#E543E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #222290

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

Preview Lab → · Contrast checker → · Palette generator →

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