#17223D#17223D

#17223D is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.7% C 0.053 H 266.0°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#17223D
RGBrgb(23, 34, 61)
HSLhsl(223, 45%, 16%)
HSVhsv(223, 62%, 24%)
CMYKcmyk(62.3%, 44.3%, 0%, 76.1%)
CIE-LABlab(13.61, 4.84, -18.82)
CIE-LCHlch(13.61, 19.43, 284.43°)
OKLaboklab(25.69% -0.0037 -0.0533)
OKLCHoklch(25.69% 0.053 266)
XYZxyz(1.7674, 1.6630, 4.6418)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17223D #3D3217
analogous
#17353D #17223D #1F173D
triadic
#17223D #3D1722 #223D17
tetradic
#17223D #3D1735 #3D3217 #173D1F
square
#17223D #3D1735 #3D3217 #173D1F
split-complementary
#17223D #3D1F17 #353D17
monochromatic
#080C16 #080C16 #17223D #283B69 #395496

Accessibility & contrast

On white

15.76
#17223D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#17223D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17223D
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17223D#FFFFFF#000000##FFFFFF
##17223D1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253E
Deuteranopia (green-blind)
#12213C
Tritanopia (blue-blind)
#04282C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #17223d;
/* rgb */ color: rgb(23, 34, 61);
/* oklch */ color: oklch(25.7% 0.053 266.0);
Tailwind
colors: {
  custom: {
    50: '#575c72',
    500: '#17223d',
    950: '#000000',
  },
}
SCSS
$custom: #17223d;
$custom-light: #575c72;
$custom-dark: #000000;
JSON
{
  "hex": "#17223d",
  "rgb": {
    "r": 23,
    "g": 34,
    "b": 61
  },
  "hsl": {
    "h": 222.632,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25689,
    "c": 0.05342,
    "h": 266
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#17223D
secondary
#74643C
accent
#AF53D5
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030408
muted
#78797B

Preview Lab

Preview with #17223D

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

Preview Lab → · Contrast checker → · Palette generator →

#17223D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva