#222193#222193

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

Color values

HEX#222193
RGBrgb(34, 33, 147)
HSLhsl(241, 63%, 35%)
HSVhsv(241, 78%, 58%)
CMYKcmyk(76.9%, 77.6%, 0%, 42.4%)
CIE-LABlab(22.07, 40.06, -61.46)
CIE-LCHlch(22.07, 73.36, 303.10°)
OKLaboklab(34.53% 0.0075 -0.1779)
OKLCHoklch(34.53% 0.178 272.4)
XYZxyz(6.4682, 3.5337, 27.9393)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222193 #929321
analogous
#215993 #222193 #5B2193
triadic
#222193 #932221 #219322
tetradic
#222193 #932159 #929321 #21935B
square
#222193 #932159 #929321 #21935B
split-complementary
#222193 #935B21 #599321
monochromatic
#0B0B2F #161661 #222193 #2E2CC5 #5755D9

Accessibility & contrast

On white

12.30
#222193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222193
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222193#FFFFFF#000000##FFFFFF
##2221931.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#002F91
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222193;
/* rgb */ color: rgb(34, 33, 147);
/* oklch */ color: oklch(34.5% 0.178 272.4);
Tailwind
colors: {
  custom: {
    50: '#715eb4',
    500: '#222193',
    950: '#000000',
  },
}
SCSS
$custom: #222193;
$custom-light: #715eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#222193",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 240.526,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34532,
    "c": 0.17805,
    "h": 272.4
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#222193
secondary
#BCBD53
accent
#E641E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #222193

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

Preview Lab → · Contrast checker → · Palette generator →

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