#222194#222194

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

Color values

HEX#222194
RGBrgb(34, 33, 148)
HSLhsl(241, 64%, 35%)
HSVhsv(241, 78%, 58%)
CMYKcmyk(77%, 77.7%, 0%, 42%)
CIE-LABlab(22.18, 40.40, -61.89)
CIE-LCHlch(22.18, 73.91, 303.13°)
OKLaboklab(34.64% 0.0073 -0.1791)
OKLCHoklch(34.64% 0.179 272.3)
XYZxyz(6.5470, 3.5652, 28.3543)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222194 #939421
analogous
#215994 #222194 #5B2194
triadic
#222194 #942221 #219422
tetradic
#222194 #942159 #939421 #21945B
square
#222194 #942159 #939421 #21945B
split-complementary
#222194 #945B21 #599421
monochromatic
#0B0B30 #171662 #222194 #2D2CC6 #5756D9

Accessibility & contrast

On white

12.26
#222194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222194
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222194#FFFFFF#000000##FFFFFF
##2221941.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222194;
/* rgb */ color: rgb(34, 33, 148);
/* oklch */ color: oklch(34.6% 0.179 272.3);
Tailwind
colors: {
  custom: {
    50: '#725eb5',
    500: '#222194',
    950: '#000000',
  },
}
SCSS
$custom: #222194;
$custom-light: #725eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#222194",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 240.522,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34645,
    "c": 0.17929,
    "h": 272.3
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#222194
secondary
#BCBD54
accent
#E741E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #222194

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

Preview Lab → · Contrast checker → · Palette generator →

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