#223E72#223E72

#223E72 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.096 H 261.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#223E72
RGBrgb(34, 62, 114)
HSLhsl(219, 54%, 29%)
HSVhsv(219, 70%, 45%)
CMYKcmyk(70.2%, 45.6%, 0%, 55.3%)
CIE-LABlab(26.73, 8.24, -33.15)
CIE-LCHlch(26.73, 34.16, 283.95°)
OKLaboklab(37.1% -0.014 -0.0947)
OKLCHoklch(37.1% 0.096 261.6)
XYZxyz(5.4185, 4.9997, 16.5958)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E72 #725622
analogous
#226672 #223E72 #2E2272
triadic
#223E72 #72223E #3E7222
tetradic
#223E72 #722266 #725622 #22722E
square
#223E72 #722266 #725622 #22722E
split-complementary
#223E72 #722E22 #667222
monochromatic
#070D18 #142443 #223E72 #3058A1 #4674C8

Accessibility & contrast

On white

10.50
#223E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223E72
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E72#FFFFFF#000000##FFFFFF
##223E721.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#183C71
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223e72;
/* rgb */ color: rgb(34, 62, 114);
/* oklch */ color: oklch(37.1% 0.096 261.6);
Tailwind
colors: {
  custom: {
    50: '#67729b',
    500: '#223e72',
    950: '#000000',
  },
}
SCSS
$custom: #223e72;
$custom-light: #67729b;
$custom-dark: #000000;
JSON
{
  "hex": "#223e72",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 114
  },
  "hsl": {
    "h": 219,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37104,
    "c": 0.09573,
    "h": 261.6
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#223E72
secondary
#A5864B
accent
#AA4ADD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #223E72

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

Preview Lab → · Contrast checker → · Palette generator →

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