#222C9B#222C9B

#222C9B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.177 H 270.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#222C9B
RGBrgb(34, 44, 155)
HSLhsl(235, 64%, 37%)
HSVhsv(235, 78%, 61%)
CMYKcmyk(78.1%, 71.6%, 0%, 39.2%)
CIE-LABlab(25.28, 36.28, -61.07)
CIE-LCHlch(25.28, 71.03, 300.71°)
OKLaboklab(37.08% 0.0012 -0.1768)
OKLCHoklch(37.08% 0.177 270.4)
XYZxyz(7.4747, 4.5072, 31.4800)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C9B #9B9122
analogous
#22699B #222C9B #54229B
triadic
#222C9B #9B222C #2C9B22
tetradic
#222C9B #9B2269 #9B9122 #229B54
square
#222C9B #9B2269 #9B9122 #229B54
split-complementary
#222C9B #9B5422 #699B22
monochromatic
#0C1037 #171E69 #222C9B #2D3ACD #5C67DB

Accessibility & contrast

On white

11.04
#222C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#222C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C9B
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C9B#FFFFFF#000000##FFFFFF
##222C9B1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222c9b;
/* rgb */ color: rgb(34, 44, 155);
/* oklch */ color: oklch(37.1% 0.177 270.4);
Tailwind
colors: {
  custom: {
    50: '#7266ba',
    500: '#222c9b',
    950: '#000000',
  },
}
SCSS
$custom: #222c9b;
$custom-light: #7266ba;
$custom-dark: #000000;
JSON
{
  "hex": "#222c9b",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 235.041,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37082,
    "c": 0.17682,
    "h": 270.4
  },
  "luminance": 0.04508
}

Semantic roles & 50–950 ramp

primary
#222C9B
secondary
#C0B759
accent
#D941E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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