#222B72#222B72

#222B72 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.122 H 272.3°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#222B72
RGBrgb(34, 43, 114)
HSLhsl(233, 54%, 29%)
HSVhsv(233, 70%, 45%)
CMYKcmyk(70.2%, 62.3%, 0%, 55.3%)
CIE-LABlab(21.14, 21.59, -42.18)
CIE-LCHlch(21.14, 47.38, 297.11°)
OKLaboklab(32.87% 0.0049 -0.1215)
OKLCHoklch(32.87% 0.122 272.3)
XYZxyz(4.5598, 3.2823, 16.3096)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B72 #726922
analogous
#225372 #222B72 #412272
triadic
#222B72 #72222B #2B7222
tetradic
#222B72 #722253 #726922 #227241
square
#222B72 #722253 #726922 #227241
split-complementary
#222B72 #724122 #537222
monochromatic
#070918 #141943 #222B72 #303DA1 #4655C8

Accessibility & contrast

On white

12.68
#222B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#222B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B72
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B72#FFFFFF#000000##FFFFFF
##222B721.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222b72;
/* rgb */ color: rgb(34, 43, 114);
/* oklch */ color: oklch(32.9% 0.122 272.3);
Tailwind
colors: {
  custom: {
    50: '#68649b',
    500: '#222b72',
    950: '#000000',
  },
}
SCSS
$custom: #222b72;
$custom-light: #68649b;
$custom-dark: #000000;
JSON
{
  "hex": "#222b72",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 233.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32868,
    "c": 0.12164,
    "h": 272.3
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#222B72
secondary
#A59B4B
accent
#CD4ADD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222B72

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

Preview Lab → · Contrast checker → · Palette generator →

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