#222C97#222C97

#222C97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.172 H 270.5°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#222C97
RGBrgb(34, 44, 151)
HSLhsl(235, 63%, 36%)
HSVhsv(235, 77%, 59%)
CMYKcmyk(77.5%, 70.9%, 0%, 40.8%)
CIE-LABlab(24.87, 34.83, -59.29)
CIE-LCHlch(24.87, 68.77, 300.43°)
OKLaboklab(36.67% 0.0016 -0.1716)
OKLCHoklch(36.67% 0.172 270.5)
XYZxyz(7.1444, 4.3750, 29.7401)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C97 #978D22
analogous
#226797 #222C97 #532297
triadic
#222C97 #97222C #2C9722
tetradic
#222C97 #972267 #978D22 #229753
square
#222C97 #972267 #978D22 #229753
split-complementary
#222C97 #975322 #679722
monochromatic
#0C0F33 #171D65 #222C97 #2D3BC9 #5A65DA

Accessibility & contrast

On white

11.20
#222C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#222C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C97
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C97#FFFFFF#000000##FFFFFF
##222C971.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #222c97;
/* rgb */ color: rgb(34, 44, 151);
/* oklch */ color: oklch(36.7% 0.172 270.5);
Tailwind
colors: {
  custom: {
    50: '#7165b7',
    500: '#222c97',
    950: '#000000',
  },
}
SCSS
$custom: #222c97;
$custom-light: #7165b7;
$custom-dark: #000000;
JSON
{
  "hex": "#222c97",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 234.872,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36665,
    "c": 0.17164,
    "h": 270.5
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#222C97
secondary
#BEB557
accent
#D842E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222C97

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

Preview Lab → · Contrast checker → · Palette generator →

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