#222B9C#222B9C

#222B9C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.179 H 270.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#222B9C
RGBrgb(34, 43, 156)
HSLhsl(236, 64%, 37%)
HSVhsv(236, 78%, 61%)
CMYKcmyk(78.2%, 72.4%, 0%, 38.8%)
CIE-LABlab(25.16, 37.26, -61.88)
CIE-LCHlch(25.16, 72.24, 301.05°)
OKLaboklab(37.03% 0.0015 -0.1792)
OKLCHoklch(37.03% 0.179 270.5)
XYZxyz(7.5223, 4.4673, 31.9119)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B9C #9C9322
analogous
#22689C #222B9C #56229C
triadic
#222B9C #9C222B #2B9C22
tetradic
#222B9C #9C2268 #9C9322 #229C56
square
#222B9C #9C2268 #9C9322 #229C56
split-complementary
#222B9C #9C5622 #689C22
monochromatic
#0C0F38 #171D6A #222B9C #2D39CE #5D66DC

Accessibility & contrast

On white

11.09
#222B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#222B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B9C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B9C#FFFFFF#000000##FFFFFF
##222B9C1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222b9c;
/* rgb */ color: rgb(34, 43, 156);
/* oklch */ color: oklch(37.0% 0.179 270.5);
Tailwind
colors: {
  custom: {
    50: '#7365ba',
    500: '#222b9c',
    950: '#000000',
  },
}
SCSS
$custom: #222b9c;
$custom-light: #7365ba;
$custom-dark: #000000;
JSON
{
  "hex": "#222b9c",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 235.574,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37025,
    "c": 0.1792,
    "h": 270.5
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#222B9C
secondary
#C0B95A
accent
#DB41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #222B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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