#172E5E#172E5E

#172E5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.091 H 263.0°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#172E5E
RGBrgb(23, 46, 94)
HSLhsl(221, 61%, 23%)
HSVhsv(221, 76%, 37%)
CMYKcmyk(75.5%, 51.1%, 0%, 63.1%)
CIE-LABlab(19.82, 9.55, -31.33)
CIE-LCHlch(19.82, 32.76, 286.94°)
OKLaboklab(31.2% -0.0111 -0.0898)
OKLCHoklch(31.2% 0.091 263)
XYZxyz(3.3500, 2.9440, 10.9792)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E5E #5E4717
analogous
#17515E #172E5E #23175E
triadic
#172E5E #5E172E #2E5E17
tetradic
#172E5E #5E1751 #5E4717 #175E23
square
#172E5E #5E1751 #5E4717 #175E23
split-complementary
#172E5E #5E2317 #515E17
monochromatic
#060C19 #0B162D #172E5E #23468F #2F5EC0

Accessibility & contrast

On white

13.22
#172E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#172E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E5E
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E5E#FFFFFF#000000##FFFFFF
##172E5E1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143360
Deuteranopia (green-blind)
#042D5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #172e5e;
/* rgb */ color: rgb(23, 46, 94);
/* oklch */ color: oklch(31.2% 0.091 263.0);
Tailwind
colors: {
  custom: {
    50: '#5e668c',
    500: '#172e5e',
    950: '#000000',
  },
}
SCSS
$custom: #172e5e;
$custom-light: #5e668c;
$custom-dark: #000000;
JSON
{
  "hex": "#172e5e",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 220.563,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.312,
    "c": 0.09052,
    "h": 263
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#172E5E
secondary
#95783C
accent
#B044E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #172E5E

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

Preview Lab → · Contrast checker → · Palette generator →

#172E5E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva