#222095#222095

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

Color values

HEX#222095
RGBrgb(34, 32, 149)
HSLhsl(241, 65%, 35%)
HSVhsv(241, 79%, 58%)
CMYKcmyk(77.2%, 78.5%, 0%, 41.6%)
CIE-LABlab(22.10, 41.29, -62.65)
CIE-LCHlch(22.10, 75.03, 303.39°)
OKLaboklab(34.62% 0.0075 -0.1813)
OKLCHoklch(34.62% 0.181 272.4)
XYZxyz(6.5992, 3.5423, 28.7639)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222095 #939520
analogous
#205895 #222095 #5D2095
triadic
#222095 #952220 #209522
tetradic
#222095 #952058 #939520 #20955D
square
#222095 #952058 #939520 #20955D
split-complementary
#222095 #955D20 #589520
monochromatic
#0B0A30 #171563 #222095 #2D2BC7 #5755DA

Accessibility & contrast

On white

12.29
#222095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222095
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222095#FFFFFF#000000##FFFFFF
##2220951.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222095;
/* rgb */ color: rgb(34, 32, 149);
/* oklch */ color: oklch(34.6% 0.181 272.4);
Tailwind
colors: {
  custom: {
    50: '#725eb5',
    500: '#222095',
    950: '#000000',
  },
}
SCSS
$custom: #222095;
$custom-light: #725eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#222095",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 241.026,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34621,
    "c": 0.18147,
    "h": 272.4
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#222095
secondary
#BCBE53
accent
#E840E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #222095

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

Preview Lab → · Contrast checker → · Palette generator →

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