#222195#222195

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

Color values

HEX#222195
RGBrgb(34, 33, 149)
HSLhsl(241, 64%, 36%)
HSVhsv(241, 78%, 58%)
CMYKcmyk(77.2%, 77.9%, 0%, 41.6%)
CIE-LABlab(22.29, 40.74, -62.32)
CIE-LCHlch(22.29, 74.46, 303.17°)
OKLaboklab(34.76% 0.0071 -0.1804)
OKLCHoklch(34.76% 0.181 272.2)
XYZxyz(6.6265, 3.5970, 28.7730)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222195 #949521
analogous
#215A95 #222195 #5C2195
triadic
#222195 #952221 #219522
tetradic
#222195 #95215A #949521 #21955C
square
#222195 #95215A #949521 #21955C
split-complementary
#222195 #955C21 #5A9521
monochromatic
#0B0B31 #171663 #222195 #2D2CC7 #5857DA

Accessibility & contrast

On white

12.21
#222195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222195
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222195#FFFFFF#000000##FFFFFF
##2221951.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#002F93
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222195;
/* rgb */ color: rgb(34, 33, 149);
/* oklch */ color: oklch(34.8% 0.181 272.2);
Tailwind
colors: {
  custom: {
    50: '#725eb5',
    500: '#222195',
    950: '#000000',
  },
}
SCSS
$custom: #222195;
$custom-light: #725eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#222195",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 240.517,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34758,
    "c": 0.18053,
    "h": 272.2
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#222195
secondary
#BDBE54
accent
#E741E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #222195

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

Preview Lab → · Contrast checker → · Palette generator →

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