#223E71#223E71

#223E71 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.0% C 0.094 H 261.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#223E71
RGBrgb(34, 62, 113)
HSLhsl(219, 54%, 29%)
HSVhsv(219, 70%, 44%)
CMYKcmyk(69.9%, 45.1%, 0%, 55.7%)
CIE-LABlab(26.67, 7.84, -32.62)
CIE-LCHlch(26.67, 33.55, 283.52°)
OKLaboklab(37.03% -0.0142 -0.0931)
OKLCHoklch(37.03% 0.094 261.3)
XYZxyz(5.3619, 4.9771, 16.2977)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E71 #715522
analogous
#226671 #223E71 #2E2271
triadic
#223E71 #71223E #3E7122
tetradic
#223E71 #712266 #715522 #22712E
square
#223E71 #712266 #715522 #22712E
split-complementary
#223E71 #712E22 #667122
monochromatic
#070D18 #142442 #223E71 #3058A0 #4674C7

Accessibility & contrast

On white

10.52
#223E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#223E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E71
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E71#FFFFFF#000000##FFFFFF
##223E711.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#193C70
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223e71;
/* rgb */ color: rgb(34, 62, 113);
/* oklch */ color: oklch(37.0% 0.094 261.3);
Tailwind
colors: {
  custom: {
    50: '#67729a',
    500: '#223e71',
    950: '#000000',
  },
}
SCSS
$custom: #223e71;
$custom-light: #67729a;
$custom-dark: #000000;
JSON
{
  "hex": "#223e71",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 218.734,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37033,
    "c": 0.09421,
    "h": 261.3
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#223E71
secondary
#A4844A
accent
#A94BDD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #223E71

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

Preview Lab → · Contrast checker → · Palette generator →

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