#222C98#222C98

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

Color values

HEX#222C98
RGBrgb(34, 44, 152)
HSLhsl(235, 63%, 36%)
HSVhsv(235, 78%, 60%)
CMYKcmyk(77.6%, 71.1%, 0%, 40.4%)
CIE-LABlab(24.98, 35.19, -59.74)
CIE-LCHlch(24.98, 69.33, 300.50°)
OKLaboklab(36.77% 0.0015 -0.1729)
OKLCHoklch(36.77% 0.173 270.5)
XYZxyz(7.2259, 4.4077, 30.1696)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C98 #988E22
analogous
#226798 #222C98 #532298
triadic
#222C98 #98222C #2C9822
tetradic
#222C98 #982267 #988E22 #229853
square
#222C98 #982267 #988E22 #229853
split-complementary
#222C98 #985322 #679822
monochromatic
#0C0F34 #171E66 #222C98 #2D3ACA #5A65DA

Accessibility & contrast

On white

11.16
#222C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222C98
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C98#FFFFFF#000000##FFFFFF
##222C981.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222c98;
/* rgb */ color: rgb(34, 44, 152);
/* oklch */ color: oklch(36.8% 0.173 270.5);
Tailwind
colors: {
  custom: {
    50: '#7266b7',
    500: '#222c98',
    950: '#000000',
  },
}
SCSS
$custom: #222c98;
$custom-light: #7266b7;
$custom-dark: #000000;
JSON
{
  "hex": "#222c98",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 234.915,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36769,
    "c": 0.17294,
    "h": 270.5
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#222C98
secondary
#BEB657
accent
#D841E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222C98

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

Preview Lab → · Contrast checker → · Palette generator →

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