#222490#222490

#222490 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.171 H 272.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#222490
RGBrgb(34, 36, 144)
HSLhsl(239, 62%, 35%)
HSVhsv(239, 76%, 56%)
CMYKcmyk(76.4%, 75%, 0%, 43.5%)
CIE-LABlab(22.35, 37.27, -59.12)
CIE-LCHlch(22.35, 69.89, 302.23°)
OKLaboklab(34.64% 0.0067 -0.1711)
OKLCHoklch(34.64% 0.171 272.2)
XYZxyz(6.3229, 3.6148, 26.7446)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222490 #908E22
analogous
#225B90 #222490 #572290
triadic
#222490 #902224 #249022
tetradic
#222490 #90225B #908E22 #229057
square
#222490 #90225B #908E22 #229057
split-complementary
#222490 #905722 #5B9022
monochromatic
#0B0B2D #16185E #222490 #2E30C2 #5558D7

Accessibility & contrast

On white

12.19
#222490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#222490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222490
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222490#FFFFFF#000000##FFFFFF
##2224901.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222490;
/* rgb */ color: rgb(34, 36, 144);
/* oklch */ color: oklch(34.6% 0.171 272.2);
Tailwind
colors: {
  custom: {
    50: '#7060b2',
    500: '#222490',
    950: '#000000',
  },
}
SCSS
$custom: #222490;
$custom-light: #7060b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222490",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 238.909,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34639,
    "c": 0.17125,
    "h": 272.2
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#222490
secondary
#BBB953
accent
#E243E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222490

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

Preview Lab → · Contrast checker → · Palette generator →

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