#222C71#222C71

#222C71 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.0% C 0.119 H 271.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#222C71
RGBrgb(34, 44, 113)
HSLhsl(232, 54%, 29%)
HSVhsv(232, 70%, 44%)
CMYKcmyk(69.9%, 61.1%, 0%, 55.7%)
CIE-LABlab(21.33, 20.50, -41.23)
CIE-LCHlch(21.33, 46.04, 296.44°)
OKLaboklab(32.98% 0.004 -0.1187)
OKLCHoklch(32.98% 0.119 271.9)
XYZxyz(4.5400, 3.3333, 16.0237)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C71 #716722
analogous
#225471 #222C71 #402271
triadic
#222C71 #71222C #2C7122
tetradic
#222C71 #712254 #716722 #227140
square
#222C71 #712254 #716722 #227140
split-complementary
#222C71 #714022 #547122
monochromatic
#070918 #141A42 #222C71 #303EA0 #4656C7

Accessibility & contrast

On white

12.60
#222C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#222C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C71
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C71#FFFFFF#000000##FFFFFF
##222C711.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222c71;
/* rgb */ color: rgb(34, 44, 113);
/* oklch */ color: oklch(33.0% 0.119 271.9);
Tailwind
colors: {
  custom: {
    50: '#68659a',
    500: '#222c71',
    950: '#000000',
  },
}
SCSS
$custom: #222c71;
$custom-light: #68659a;
$custom-dark: #000000;
JSON
{
  "hex": "#222c71",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 232.405,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32983,
    "c": 0.11879,
    "h": 271.9
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#222C71
secondary
#A4994A
accent
#CB4BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #222C71

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

Preview Lab → · Contrast checker → · Palette generator →

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