#222D91#222D91

#222D91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.163 H 270.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#222D91
RGBrgb(34, 45, 145)
HSLhsl(234, 62%, 35%)
HSVhsv(234, 77%, 57%)
CMYKcmyk(76.6%, 69%, 0%, 43.1%)
CIE-LABlab(24.51, 31.99, -56.19)
CIE-LCHlch(24.51, 64.65, 299.65°)
OKLaboklab(36.22% 0.0017 -0.1626)
OKLCHoklch(36.22% 0.163 270.6)
XYZxyz(6.7072, 4.2605, 27.2514)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D91 #918622
analogous
#226491 #222D91 #4E2291
triadic
#222D91 #91222D #2D9122
tetradic
#222D91 #912264 #918622 #22914E
square
#222D91 #912264 #918622 #22914E
split-complementary
#222D91 #914E22 #649122
monochromatic
#0B0E2E #161E5F #222D91 #2E3CC3 #5663D7

Accessibility & contrast

On white

11.34
#222D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#222D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D91
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D91#FFFFFF#000000##FFFFFF
##222D911.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222d91;
/* rgb */ color: rgb(34, 45, 145);
/* oklch */ color: oklch(36.2% 0.163 270.6);
Tailwind
colors: {
  custom: {
    50: '#7066b2',
    500: '#222d91',
    950: '#000000',
  },
}
SCSS
$custom: #222d91;
$custom-light: #7066b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222d91",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 234.054,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36224,
    "c": 0.16257,
    "h": 270.6
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#222D91
secondary
#BBB153
accent
#D543E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222D91

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

Preview Lab → · Contrast checker → · Palette generator →

#222D91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva