#223D7C#223D7C

#223D7C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.112 H 264.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#223D7C
RGBrgb(34, 61, 124)
HSLhsl(222, 57%, 31%)
HSVhsv(222, 73%, 49%)
CMYKcmyk(72.6%, 50.8%, 0%, 51.4%)
CIE-LABlab(27.11, 12.89, -38.87)
CIE-LCHlch(27.11, 40.95, 288.34°)
OKLaboklab(37.61% -0.0112 -0.1115)
OKLCHoklch(37.61% 0.112 264.3)
XYZxyz(5.9652, 5.1322, 19.7411)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D7C #7C6122
analogous
#226A7C #223D7C #34227C
triadic
#223D7C #7C223D #3D7C22
tetradic
#223D7C #7C226A #7C6122 #227C34
square
#223D7C #7C226A #7C6122 #227C34
split-complementary
#223D7C #7C3422 #6A7C22
monochromatic
#080E1C #15254C #223D7C #2F55AC #4B72CE

Accessibility & contrast

On white

10.36
#223D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#223D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D7C
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D7C#FFFFFF#000000##FFFFFF
##223D7C1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223d7c;
/* rgb */ color: rgb(34, 61, 124);
/* oklch */ color: oklch(37.6% 0.112 264.3);
Tailwind
colors: {
  custom: {
    50: '#6972a2',
    500: '#223d7c',
    950: '#000000',
  },
}
SCSS
$custom: #223d7c;
$custom-light: #6972a2;
$custom-dark: #000000;
JSON
{
  "hex": "#223d7c",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 222,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3761,
    "c": 0.11209,
    "h": 264.3
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#223D7C
secondary
#AF914B
accent
#B248E0
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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