#172953#172953

#172953 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.080 H 264.5°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#172953
RGBrgb(23, 41, 83)
HSLhsl(222, 57%, 21%)
HSVhsv(222, 72%, 33%)
CMYKcmyk(72.3%, 50.6%, 0%, 67.5%)
CIE-LABlab(17.42, 8.62, -27.85)
CIE-LCHlch(17.42, 29.16, 287.21°)
OKLaboklab(29.11% -0.0077 -0.0797)
OKLCHoklch(29.11% 0.08 264.5)
XYZxyz(2.7071, 2.3923, 8.5010)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172953 #534117
analogous
#174753 #172953 #231753
triadic
#172953 #531729 #295317
tetradic
#172953 #531747 #534117 #175323
square
#172953 #531747 #534117 #175323
split-complementary
#172953 #532317 #475317
monochromatic
#070C18 #0A1123 #172953 #244183 #3258B3

Accessibility & contrast

On white

14.20
#172953 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#172953 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172953
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172953#FFFFFF#000000##FFFFFF
##1729531.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E55
Deuteranopia (green-blind)
#082852
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172953;
/* rgb */ color: rgb(23, 41, 83);
/* oklch */ color: oklch(29.1% 0.080 264.5);
Tailwind
colors: {
  custom: {
    50: '#5c6284',
    500: '#172953',
    950: '#000000',
  },
}
SCSS
$custom: #172953;
$custom-light: #5c6284;
$custom-dark: #000000;
JSON
{
  "hex": "#172953",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 83
  },
  "hsl": {
    "h": 222,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29111,
    "c": 0.08006,
    "h": 264.5
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#172953
secondary
#8A733C
accent
#B248E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #172953

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

Preview Lab → · Contrast checker → · Palette generator →

#172953 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva