#222C90#222C90

#222C90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.162 H 270.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#222C90
RGBrgb(34, 44, 144)
HSLhsl(235, 62%, 35%)
HSVhsv(235, 76%, 56%)
CMYKcmyk(76.4%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.18, 32.27, -56.13)
CIE-LCHlch(24.18, 64.74, 299.89°)
OKLaboklab(35.95% 0.0024 -0.1624)
OKLCHoklch(35.95% 0.162 270.8)
XYZxyz(6.5927, 4.1544, 26.8346)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C90 #908622
analogous
#226390 #222C90 #4F2290
triadic
#222C90 #90222C #2C9022
tetradic
#222C90 #902263 #908622 #22904F
square
#222C90 #902263 #908622 #22904F
split-complementary
#222C90 #904F22 #639022
monochromatic
#0B0E2D #161D5E #222C90 #2E3BC2 #5561D7

Accessibility & contrast

On white

11.47
#222C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#222C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C90
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C90#FFFFFF#000000##FFFFFF
##222C901.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222c90;
/* rgb */ color: rgb(34, 44, 144);
/* oklch */ color: oklch(35.9% 0.162 270.8);
Tailwind
colors: {
  custom: {
    50: '#7065b2',
    500: '#222c90',
    950: '#000000',
  },
}
SCSS
$custom: #222c90;
$custom-light: #7065b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222c90",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 234.545,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35948,
    "c": 0.16241,
    "h": 270.8
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#222C90
secondary
#BBB153
accent
#D643E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222C90

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

Preview Lab → · Contrast checker → · Palette generator →

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