#173240#173240

#173240 is a dark, muted cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.042 H 233.0°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#173240
RGBrgb(23, 50, 64)
HSLhsl(200, 47%, 17%)
HSVhsv(200, 64%, 25%)
CMYKcmyk(64.1%, 21.9%, 0%, 74.9%)
CIE-LABlab(19.36, -5.36, -11.91)
CIE-LCHlch(19.36, 13.06, 245.79°)
OKLaboklab(30.26% -0.025 -0.0332)
OKLCHoklch(30.26% 0.042 233)
XYZxyz(2.4190, 2.8333, 5.2689)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173240 #402517
analogous
#17403A #173240 #171E40
triadic
#173240 #401732 #324017
tetradic
#173240 #3A1740 #402517 #1E4017
square
#173240 #3A1740 #402517 #1E4017
split-complementary
#173240 #40171E #403A17
monochromatic
#081217 #081217 #173240 #27556D #37789A

Accessibility & contrast

On white

13.40
#173240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#173240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173240
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173240#FFFFFF#000000##FFFFFF
##1732401.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3141
Deuteranopia (green-blind)
#252D40
Tritanopia (blue-blind)
#003637
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #173240;
/* rgb */ color: rgb(23, 50, 64);
/* oklch */ color: oklch(30.3% 0.042 233.0);
Tailwind
colors: {
  custom: {
    50: '#586974',
    500: '#173240',
    950: '#000000',
  },
}
SCSS
$custom: #173240;
$custom-light: #586974;
$custom-dark: #000000;
JSON
{
  "hex": "#173240",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 64
  },
  "hsl": {
    "h": 200.488,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.30259,
    "c": 0.04156,
    "h": 233
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#173240
secondary
#77503C
accent
#7F51D7
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #173240

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

Preview Lab → · Contrast checker → · Palette generator →

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