#222E72#222E72

#222E72 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.118 H 271.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#222E72
RGBrgb(34, 46, 114)
HSLhsl(231, 54%, 29%)
HSVhsv(231, 70%, 45%)
CMYKcmyk(70.2%, 59.6%, 0%, 55.3%)
CIE-LABlab(21.98, 19.48, -40.82)
CIE-LCHlch(21.98, 45.23, 295.51°)
OKLaboklab(33.49% 0.0022 -0.1175)
OKLCHoklch(33.49% 0.118 271.1)
XYZxyz(4.6729, 3.5085, 16.3473)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E72 #726622
analogous
#225672 #222E72 #3E2272
triadic
#222E72 #72222E #2E7222
tetradic
#222E72 #722256 #726622 #22723E
square
#222E72 #722256 #726622 #22723E
split-complementary
#222E72 #723E22 #567222
monochromatic
#070A18 #141B43 #222E72 #3041A1 #465AC8

Accessibility & contrast

On white

12.34
#222E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#222E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E72
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E72#FFFFFF#000000##FFFFFF
##222E721.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222e72;
/* rgb */ color: rgb(34, 46, 114);
/* oklch */ color: oklch(33.5% 0.118 271.1);
Tailwind
colors: {
  custom: {
    50: '#68669b',
    500: '#222e72',
    950: '#000000',
  },
}
SCSS
$custom: #222e72;
$custom-light: #68669b;
$custom-dark: #000000;
JSON
{
  "hex": "#222e72",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 231,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33489,
    "c": 0.11753,
    "h": 271.1
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#222E72
secondary
#A5984B
accent
#C74ADD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #222E72

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

Preview Lab → · Contrast checker → · Palette generator →

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