#173254#173254

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

Color values

HEX#173254
RGBrgb(23, 50, 84)
HSLhsl(213, 57%, 21%)
HSVhsv(213, 73%, 33%)
CMYKcmyk(72.6%, 40.5%, 0%, 67.1%)
CIE-LABlab(20.45, 2.52, -23.69)
CIE-LCHlch(20.45, 23.83, 276.07°)
OKLaboklab(31.47% -0.0177 -0.0673)
OKLCHoklch(31.47% 0.07 255.2)
XYZxyz(3.0936, 3.1031, 8.8217)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173254 #543917
analogous
#175054 #173254 #1B1754
triadic
#173254 #541732 #325417
tetradic
#173254 #541750 #543917 #17541B
square
#173254 #541750 #543917 #17541B
split-complementary
#173254 #541B17 #505417
monochromatic
#070E18 #0A1524 #173254 #244F84 #316BB4

Accessibility & contrast

On white

12.96
#173254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173254
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173254#FFFFFF#000000##FFFFFF
##1732541.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233455
Deuteranopia (green-blind)
#1A2F53
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #173254;
/* rgb */ color: rgb(23, 50, 84);
/* oklch */ color: oklch(31.5% 0.070 255.2);
Tailwind
colors: {
  custom: {
    50: '#5c6984',
    500: '#173254',
    950: '#000000',
  },
}
SCSS
$custom: #173254;
$custom-light: #5c6984;
$custom-dark: #000000;
JSON
{
  "hex": "#173254",
  "rgb": {
    "r": 23,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 213.443,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31474,
    "c": 0.06963,
    "h": 255.2
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#173254
secondary
#8B683C
accent
#9D48E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #173254

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

Preview Lab → · Contrast checker → · Palette generator →

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