#172E4E#172E4E

#172E4E is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.065 H 257.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#172E4E
RGBrgb(23, 46, 78)
HSLhsl(215, 54%, 20%)
HSVhsv(215, 71%, 31%)
CMYKcmyk(70.5%, 41%, 0%, 69.4%)
CIE-LABlab(18.74, 2.92, -22.39)
CIE-LCHlch(18.74, 22.58, 277.42°)
OKLaboklab(30.02% -0.0147 -0.0636)
OKLCHoklch(30.02% 0.065 257)
XYZxyz(2.7050, 2.6859, 7.5821)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E4E #4E3717
analogous
#174A4E #172E4E #1C174E
triadic
#172E4E #4E172E #2E4E17
tetradic
#172E4E #4E174A #4E3717 #174E1C
square
#172E4E #4E174A #4E3717 #174E1C
split-complementary
#172E4E #4E1C17 #4A4E17
monochromatic
#070E18 #09121F #172E4E #254A7D #3366AD

Accessibility & contrast

On white

13.66
#172E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#172E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E4E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E4E#FFFFFF#000000##FFFFFF
##172E4E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#182B4D
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172e4e;
/* rgb */ color: rgb(23, 46, 78);
/* oklch */ color: oklch(30.0% 0.065 257.0);
Tailwind
colors: {
  custom: {
    50: '#5b6680',
    500: '#172e4e',
    950: '#000000',
  },
}
SCSS
$custom: #172e4e;
$custom-light: #5b6680;
$custom-dark: #000000;
JSON
{
  "hex": "#172e4e",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 214.909,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30019,
    "c": 0.06524,
    "h": 257
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#172E4E
secondary
#85663C
accent
#A04ADE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #172E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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