#222B79#222B79

#222B79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.132 H 272.1°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#222B79
RGBrgb(34, 43, 121)
HSLhsl(234, 56%, 30%)
HSVhsv(234, 72%, 47%)
CMYKcmyk(71.9%, 64.5%, 0%, 52.5%)
CIE-LABlab(21.75, 24.28, -45.66)
CIE-LCHlch(21.75, 51.71, 298.00°)
OKLaboklab(33.51% 0.0048 -0.1317)
OKLCHoklch(33.51% 0.132 272.1)
XYZxyz(4.9736, 3.4478, 18.4888)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B79 #797022
analogous
#225679 #222B79 #442279
triadic
#222B79 #79222B #2B7922
tetradic
#222B79 #792256 #797022 #227944
square
#222B79 #792256 #797022 #227944
split-complementary
#222B79 #794422 #567922
monochromatic
#070919 #151A49 #222B79 #2F3CA9 #4957CC

Accessibility & contrast

On white

12.43
#222B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#222B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B79
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B79#FFFFFF#000000##FFFFFF
##222B791.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222b79;
/* rgb */ color: rgb(34, 43, 121);
/* oklch */ color: oklch(33.5% 0.132 272.1);
Tailwind
colors: {
  custom: {
    50: '#6a64a0',
    500: '#222b79',
    950: '#000000',
  },
}
SCSS
$custom: #222b79;
$custom-light: #6a64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#222b79",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 233.793,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33513,
    "c": 0.13183,
    "h": 272.1
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#222B79
secondary
#ACA24B
accent
#D048DF
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #222B79

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

Preview Lab → · Contrast checker → · Palette generator →

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