#223D7D#223D7D

#223D7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.114 H 264.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#223D7D
RGBrgb(34, 61, 125)
HSLhsl(222, 57%, 31%)
HSVhsv(222, 73%, 49%)
CMYKcmyk(72.8%, 51.2%, 0%, 51%)
CIE-LABlab(27.18, 13.29, -39.39)
CIE-LCHlch(27.18, 41.57, 288.64°)
OKLaboklab(37.69% -0.0111 -0.113)
OKLCHoklch(37.69% 0.114 264.4)
XYZxyz(6.0288, 5.1576, 20.0759)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D7D #7D6222
analogous
#226A7D #223D7D #34227D
triadic
#223D7D #7D223D #3D7D22
tetradic
#223D7D #7D226A #7D6222 #227D34
square
#223D7D #7D226A #7D6222 #227D34
split-complementary
#223D7D #7D3422 #6A7D22
monochromatic
#080E1D #15264D #223D7D #2F54AD #4B72CE

Accessibility & contrast

On white

10.34
#223D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223D7D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D7D#FFFFFF#000000##FFFFFF
##223D7D1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223d7d;
/* rgb */ color: rgb(34, 61, 125);
/* oklch */ color: oklch(37.7% 0.114 264.4);
Tailwind
colors: {
  custom: {
    50: '#6972a3',
    500: '#223d7d',
    950: '#000000',
  },
}
SCSS
$custom: #223d7d;
$custom-light: #6972a3;
$custom-dark: #000000;
JSON
{
  "hex": "#223d7d",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 222.198,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37687,
    "c": 0.11358,
    "h": 264.4
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#223D7D
secondary
#B0924B
accent
#B347E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #223D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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