#223E7D#223E7D

#223E7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.112 H 263.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#223E7D
RGBrgb(34, 62, 125)
HSLhsl(222, 57%, 31%)
HSVhsv(222, 73%, 49%)
CMYKcmyk(72.8%, 50.4%, 0%, 51%)
CIE-LABlab(27.48, 12.59, -38.91)
CIE-LCHlch(27.48, 40.89, 287.93°)
OKLaboklab(37.92% -0.012 -0.1116)
OKLCHoklch(37.92% 0.112 263.8)
XYZxyz(6.0827, 5.2654, 20.0938)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E7D #7D6122
analogous
#226B7D #223E7D #33227D
triadic
#223E7D #7D223E #3E7D22
tetradic
#223E7D #7D226B #7D6122 #227D33
square
#223E7D #7D226B #7D6122 #227D33
split-complementary
#223E7D #7D3322 #6B7D22
monochromatic
#080E1D #15264D #223E7D #2F56AD #4B74CE

Accessibility & contrast

On white

10.23
#223E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#223E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E7D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E7D#FFFFFF#000000##FFFFFF
##223E7D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#023D7C
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223e7d;
/* rgb */ color: rgb(34, 62, 125);
/* oklch */ color: oklch(37.9% 0.112 263.8);
Tailwind
colors: {
  custom: {
    50: '#6972a3',
    500: '#223e7d',
    950: '#000000',
  },
}
SCSS
$custom: #223e7d;
$custom-light: #6972a3;
$custom-dark: #000000;
JSON
{
  "hex": "#223e7d",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 221.538,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37915,
    "c": 0.11226,
    "h": 263.8
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#223E7D
secondary
#B0914B
accent
#B147E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #223E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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