#222293#222293

#222293 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.177 H 272.3°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#222293
RGBrgb(34, 34, 147)
HSLhsl(240, 62%, 35%)
HSVhsv(240, 77%, 58%)
CMYKcmyk(76.9%, 76.9%, 0%, 42.4%)
CIE-LABlab(22.27, 39.49, -61.13)
CIE-LCHlch(22.27, 72.77, 302.86°)
OKLaboklab(34.67% 0.0071 -0.1769)
OKLCHoklch(34.67% 0.177 272.3)
XYZxyz(6.4964, 3.5900, 27.9487)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222293 #939322
analogous
#225A93 #222293 #5A2293
triadic
#222293 #932222 #229322
tetradic
#222293 #93225A #939322 #22935A
square
#222293 #93225A #939322 #22935A
split-complementary
#222293 #935A22 #5A9322
monochromatic
#0B0B30 #171761 #222293 #2D2DC5 #5757D8

Accessibility & contrast

On white

12.22
#222293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222293
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222293#FFFFFF#000000##FFFFFF
##2222931.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222293;
/* rgb */ color: rgb(34, 34, 147);
/* oklch */ color: oklch(34.7% 0.177 272.3);
Tailwind
colors: {
  custom: {
    50: '#715fb4',
    500: '#222293',
    950: '#000000',
  },
}
SCSS
$custom: #222293;
$custom-light: #715fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#222293",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 240,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34675,
    "c": 0.17707,
    "h": 272.3
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#222293
secondary
#BCBC55
accent
#E542E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222293

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

Preview Lab → · Contrast checker → · Palette generator →

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