#222B78#222B78

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

Color values

HEX#222B78
RGBrgb(34, 43, 120)
HSLhsl(234, 56%, 30%)
HSVhsv(234, 72%, 47%)
CMYKcmyk(71.7%, 64.2%, 0%, 52.9%)
CIE-LABlab(21.67, 23.90, -45.16)
CIE-LCHlch(21.67, 51.10, 297.88°)
OKLaboklab(33.42% 0.0048 -0.1303)
OKLCHoklch(33.42% 0.13 272.1)
XYZxyz(4.9126, 3.4234, 18.1676)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B78 #786F22
analogous
#225678 #222B78 #442278
triadic
#222B78 #78222B #2B7822
tetradic
#222B78 #782256 #786F22 #227844
square
#222B78 #782256 #786F22 #227844
split-complementary
#222B78 #784422 #567822
monochromatic
#070919 #141A48 #222B78 #303CA8 #4957CB

Accessibility & contrast

On white

12.46
#222B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#222B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B78
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B78#FFFFFF#000000##FFFFFF
##222B781.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222b78;
/* rgb */ color: rgb(34, 43, 120);
/* oklch */ color: oklch(33.4% 0.130 272.1);
Tailwind
colors: {
  custom: {
    50: '#6a64a0',
    500: '#222b78',
    950: '#000000',
  },
}
SCSS
$custom: #222b78;
$custom-light: #6a64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#222b78",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 233.721,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3342,
    "c": 0.13039,
    "h": 272.1
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#222B78
secondary
#ABA14B
accent
#CF49DF
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #222B78

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

Preview Lab → · Contrast checker → · Palette generator →

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