#222390#222390

#222390 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.172 H 272.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#222390
RGBrgb(34, 35, 144)
HSLhsl(239, 62%, 35%)
HSVhsv(239, 76%, 56%)
CMYKcmyk(76.4%, 75.7%, 0%, 43.5%)
CIE-LABlab(22.14, 37.87, -59.47)
CIE-LCHlch(22.14, 70.51, 302.49°)
OKLaboklab(34.49% 0.0072 -0.1721)
OKLCHoklch(34.49% 0.172 272.4)
XYZxyz(6.2931, 3.5551, 26.7347)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222390 #908F22
analogous
#225A90 #222390 #582290
triadic
#222390 #902223 #239022
tetradic
#222390 #90225A #908F22 #229058
square
#222390 #90225A #908F22 #229058
split-complementary
#222390 #905822 #5A9022
monochromatic
#0B0B2D #16175E #222390 #2E2FC2 #5557D7

Accessibility & contrast

On white

12.27
#222390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#222390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222390
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222390#FFFFFF#000000##FFFFFF
##2223901.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222390;
/* rgb */ color: rgb(34, 35, 144);
/* oklch */ color: oklch(34.5% 0.172 272.4);
Tailwind
colors: {
  custom: {
    50: '#705fb2',
    500: '#222390',
    950: '#000000',
  },
}
SCSS
$custom: #222390;
$custom-light: #705fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#222390",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 239.455,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34488,
    "c": 0.17228,
    "h": 272.4
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#222390
secondary
#BBBA53
accent
#E343E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222390

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

Preview Lab → · Contrast checker → · Palette generator →

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