#173154#173154

#173154 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.2% C 0.071 H 256.5°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#173154
RGBrgb(23, 49, 84)
HSLhsl(214, 57%, 21%)
HSVhsv(214, 73%, 33%)
CMYKcmyk(72.6%, 41.7%, 0%, 67.1%)
CIE-LABlab(20.12, 3.23, -24.22)
CIE-LCHlch(20.12, 24.44, 277.59°)
OKLaboklab(31.21% -0.0166 -0.0689)
OKLCHoklch(31.21% 0.071 256.5)
XYZxyz(3.0513, 3.0186, 8.8076)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173154 #543A17
analogous
#174F54 #173154 #1B1754
triadic
#173154 #541731 #315417
tetradic
#173154 #54174F #543A17 #17541B
square
#173154 #54174F #543A17 #17541B
split-complementary
#173154 #541B17 #4F5417
monochromatic
#070E18 #0A1524 #173154 #244D84 #3169B4

Accessibility & contrast

On white

13.09
#173154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#173154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173154
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173154#FFFFFF#000000##FFFFFF
##1731541.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213455
Deuteranopia (green-blind)
#182E53
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #173154;
/* rgb */ color: rgb(23, 49, 84);
/* oklch */ color: oklch(31.2% 0.071 256.5);
Tailwind
colors: {
  custom: {
    50: '#5c6884',
    500: '#173154',
    950: '#000000',
  },
}
SCSS
$custom: #173154;
$custom-light: #5c6884;
$custom-dark: #000000;
JSON
{
  "hex": "#173154",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 214.426,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31213,
    "c": 0.07087,
    "h": 256.5
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#173154
secondary
#8B693C
accent
#9F48E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #173154

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

Preview Lab → · Contrast checker → · Palette generator →

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