#222692#222692

#222692 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.172 H 271.8°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#222692
RGBrgb(34, 38, 146)
HSLhsl(238, 62%, 35%)
HSVhsv(238, 77%, 57%)
CMYKcmyk(76.7%, 74%, 0%, 42.7%)
CIE-LABlab(23.00, 36.77, -59.30)
CIE-LCHlch(23.00, 69.77, 301.80°)
OKLaboklab(35.17% 0.0054 -0.1716)
OKLCHoklch(35.17% 0.172 271.8)
XYZxyz(6.5394, 3.8009, 27.5776)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222692 #928E22
analogous
#225E92 #222692 #562292
triadic
#222692 #922226 #269222
tetradic
#222692 #92225E #928E22 #229256
square
#222692 #92225E #928E22 #229256
split-complementary
#222692 #925622 #5E9222
monochromatic
#0B0C2F #161960 #222692 #2E33C4 #575BD8

Accessibility & contrast

On white

11.93
#222692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#222692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222692
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222692#FFFFFF#000000##FFFFFF
##2226921.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222692;
/* rgb */ color: rgb(34, 38, 146);
/* oklch */ color: oklch(35.2% 0.172 271.8);
Tailwind
colors: {
  custom: {
    50: '#7161b3',
    500: '#222692',
    950: '#000000',
  },
}
SCSS
$custom: #222692;
$custom-light: #7161b3;
$custom-dark: #000000;
JSON
{
  "hex": "#222692",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 146
  },
  "hsl": {
    "h": 237.857,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35165,
    "c": 0.17171,
    "h": 271.8
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

primary
#222692
secondary
#BCB854
accent
#DF43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222692

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

Preview Lab → · Contrast checker → · Palette generator →

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