#222D71#222D71

#222D71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.117 H 271.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#222D71
RGBrgb(34, 45, 113)
HSLhsl(232, 54%, 29%)
HSVhsv(232, 70%, 44%)
CMYKcmyk(69.9%, 60.2%, 0%, 55.7%)
CIE-LABlab(21.61, 19.80, -40.77)
CIE-LCHlch(21.61, 45.32, 295.90°)
OKLaboklab(33.19% 0.0031 -0.1174)
OKLCHoklch(33.19% 0.117 271.5)
XYZxyz(4.5777, 3.4087, 16.0363)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D71 #716622
analogous
#225571 #222D71 #3F2271
triadic
#222D71 #71222D #2D7122
tetradic
#222D71 #712255 #716622 #22713F
square
#222D71 #712255 #716622 #22713F
split-complementary
#222D71 #713F22 #557122
monochromatic
#070918 #141A42 #222D71 #3040A0 #4658C7

Accessibility & contrast

On white

12.49
#222D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222D71
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D71#FFFFFF#000000##FFFFFF
##222D711.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222d71;
/* rgb */ color: rgb(34, 45, 113);
/* oklch */ color: oklch(33.2% 0.117 271.5);
Tailwind
colors: {
  custom: {
    50: '#68659a',
    500: '#222d71',
    950: '#000000',
  },
}
SCSS
$custom: #222d71;
$custom-light: #68659a;
$custom-dark: #000000;
JSON
{
  "hex": "#222d71",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 231.646,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33191,
    "c": 0.11741,
    "h": 271.5
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#222D71
secondary
#A4984A
accent
#C94BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #222D71

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

Preview Lab → · Contrast checker → · Palette generator →

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