#173255#173255

#173255 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.5% C 0.071 H 255.8°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#173255
RGBrgb(23, 50, 85)
HSLhsl(214, 57%, 21%)
HSVhsv(214, 73%, 33%)
CMYKcmyk(72.9%, 41.2%, 0%, 66.7%)
CIE-LABlab(20.51, 2.93, -24.26)
CIE-LCHlch(20.51, 24.44, 276.88°)
OKLaboklab(31.54% -0.0174 -0.069)
OKLCHoklch(31.54% 0.071 255.8)
XYZxyz(3.1330, 3.1189, 9.0295)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173255 #553A17
analogous
#175155 #173255 #1B1755
triadic
#173255 #551732 #325517
tetradic
#173255 #551751 #553A17 #17551B
square
#173255 #551751 #553A17 #17551B
split-complementary
#173255 #551B17 #515517
monochromatic
#070E18 #0A1625 #173255 #244E85 #316BB5

Accessibility & contrast

On white

12.93
#173255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#173255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173255
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173255#FFFFFF#000000##FFFFFF
##1732551.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223556
Deuteranopia (green-blind)
#192F54
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #173255;
/* rgb */ color: rgb(23, 50, 85);
/* oklch */ color: oklch(31.5% 0.071 255.8);
Tailwind
colors: {
  custom: {
    50: '#5c6985',
    500: '#173255',
    950: '#000000',
  },
}
SCSS
$custom: #173255;
$custom-light: #5c6985;
$custom-dark: #000000;
JSON
{
  "hex": "#173255",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 213.871,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31542,
    "c": 0.07117,
    "h": 255.8
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#173255
secondary
#8C693C
accent
#9E47E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #173255

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

Preview Lab → · Contrast checker → · Palette generator →

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