#172834#172834

#172834 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.8% C 0.032 H 240.3°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#172834
RGBrgb(23, 40, 52)
HSLhsl(205, 39%, 15%)
HSVhsv(205, 56%, 20%)
CMYKcmyk(55.8%, 23.1%, 0%, 79.6%)
CIE-LABlab(15.21, -2.96, -9.98)
CIE-LCHlch(15.21, 10.41, 253.50°)
OKLaboklab(26.78% -0.0158 -0.0277)
OKLCHoklch(26.78% 0.032 240.3)
XYZxyz(1.7318, 1.9476, 3.5328)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172834 #342317
analogous
#173432 #172834 #171934
triadic
#172834 #341728 #283417
tetradic
#172834 #321734 #342317 #193417
square
#172834 #321734 #342317 #193417
split-complementary
#172834 #341719 #343217
monochromatic
#091015 #091015 #172834 #2A495E #3D6989

Accessibility & contrast

On white

15.11
#172834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#172834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172834
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172834#FFFFFF#000000##FFFFFF
##1728341.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232835
Deuteranopia (green-blind)
#1F2534
Tritanopia (blue-blind)
#0A2B2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #172834;
/* rgb */ color: rgb(23, 40, 52);
/* oklch */ color: oklch(26.8% 0.032 240.3);
Tailwind
colors: {
  custom: {
    50: '#56616b',
    500: '#172834',
    950: '#000000',
  },
}
SCSS
$custom: #172834;
$custom-light: #56616b;
$custom-dark: #000000;
JSON
{
  "hex": "#172834",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 52
  },
  "hsl": {
    "h": 204.828,
    "s": 38.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26776,
    "c": 0.03193,
    "h": 240.3
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#172834
secondary
#6A503D
accent
#8A59CF
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030506
muted
#78797A

Preview Lab

Preview with #172834

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

Preview Lab → · Contrast checker → · Palette generator →

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