#222393#222393

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

Color values

HEX#222393
RGBrgb(34, 35, 147)
HSLhsl(239, 62%, 35%)
HSVhsv(239, 77%, 58%)
CMYKcmyk(76.9%, 76.2%, 0%, 42.4%)
CIE-LABlab(22.47, 38.91, -60.79)
CIE-LCHlch(22.47, 72.17, 302.62°)
OKLaboklab(34.82% 0.0066 -0.1759)
OKLCHoklch(34.82% 0.176 272.2)
XYZxyz(6.5254, 3.6480, 27.9583)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222393 #939222
analogous
#225B93 #222393 #592293
triadic
#222393 #932223 #239322
tetradic
#222393 #93225B #939222 #229359
square
#222393 #93225B #939222 #229359
split-complementary
#222393 #935922 #5B9322
monochromatic
#0B0B30 #171761 #222393 #2D2FC5 #5758D8

Accessibility & contrast

On white

12.14
#222393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#222393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222393
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222393#FFFFFF#000000##FFFFFF
##2223931.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222393;
/* rgb */ color: rgb(34, 35, 147);
/* oklch */ color: oklch(34.8% 0.176 272.2);
Tailwind
colors: {
  custom: {
    50: '#715fb4',
    500: '#222393',
    950: '#000000',
  },
}
SCSS
$custom: #222393;
$custom-light: #715fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#222393",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 239.469,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3482,
    "c": 0.17607,
    "h": 272.2
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#222393
secondary
#BCBB55
accent
#E442E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222393

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

Preview Lab → · Contrast checker → · Palette generator →

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