#222E71#222E71

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

Color values

HEX#222E71
RGBrgb(34, 46, 113)
HSLhsl(231, 54%, 29%)
HSVhsv(231, 70%, 44%)
CMYKcmyk(69.9%, 59.3%, 0%, 55.7%)
CIE-LABlab(21.89, 19.09, -40.31)
CIE-LCHlch(21.89, 44.61, 295.34°)
OKLaboklab(33.4% 0.0021 -0.116)
OKLCHoklch(33.4% 0.116 271.1)
XYZxyz(4.6163, 3.4859, 16.0492)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E71 #716522
analogous
#225671 #222E71 #3E2271
triadic
#222E71 #71222E #2E7122
tetradic
#222E71 #712256 #716522 #22713E
square
#222E71 #712256 #716522 #22713E
split-complementary
#222E71 #713E22 #567122
monochromatic
#070A18 #141B42 #222E71 #3041A0 #465AC7

Accessibility & contrast

On white

12.37
#222E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222E71
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E71#FFFFFF#000000##FFFFFF
##222E711.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222e71;
/* rgb */ color: rgb(34, 46, 113);
/* oklch */ color: oklch(33.4% 0.116 271.1);
Tailwind
colors: {
  custom: {
    50: '#68669a',
    500: '#222e71',
    950: '#000000',
  },
}
SCSS
$custom: #222e71;
$custom-light: #68669a;
$custom-dark: #000000;
JSON
{
  "hex": "#222e71",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 230.886,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33402,
    "c": 0.11603,
    "h": 271.1
  },
  "luminance": 0.03486
}

Semantic roles & 50–950 ramp

primary
#222E71
secondary
#A4974A
accent
#C74BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #222E71

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

Preview Lab → · Contrast checker → · Palette generator →

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