#222B97#222B97

#222B97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.173 H 270.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#222B97
RGBrgb(34, 43, 151)
HSLhsl(235, 63%, 36%)
HSVhsv(235, 77%, 59%)
CMYKcmyk(77.5%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.64, 35.46, -59.67)
CIE-LCHlch(24.64, 69.41, 300.72°)
OKLaboklab(36.5% 0.0022 -0.1727)
OKLCHoklch(36.5% 0.173 270.7)
XYZxyz(7.1076, 4.3014, 29.7278)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B97 #978E22
analogous
#226697 #222B97 #542297
triadic
#222B97 #97222B #2B9722
tetradic
#222B97 #972266 #978E22 #229754
square
#222B97 #972266 #978E22 #229754
split-complementary
#222B97 #975422 #669722
monochromatic
#0C0F33 #171D65 #222B97 #2D39C9 #5A63DA

Accessibility & contrast

On white

11.29
#222B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#222B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B97
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B97#FFFFFF#000000##FFFFFF
##222B971.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #222b97;
/* rgb */ color: rgb(34, 43, 151);
/* oklch */ color: oklch(36.5% 0.173 270.7);
Tailwind
colors: {
  custom: {
    50: '#7165b7',
    500: '#222b97',
    950: '#000000',
  },
}
SCSS
$custom: #222b97;
$custom-light: #7165b7;
$custom-dark: #000000;
JSON
{
  "hex": "#222b97",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 235.385,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36499,
    "c": 0.17275,
    "h": 270.7
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#222B97
secondary
#BEB657
accent
#DA42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222B97

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

Preview Lab → · Contrast checker → · Palette generator →

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