#174171#174171

#174171 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.3% C 0.095 H 254.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#174171
RGBrgb(23, 65, 113)
HSLhsl(212, 66%, 27%)
HSVhsv(212, 80%, 44%)
CMYKcmyk(79.6%, 42.5%, 0%, 55.7%)
CIE-LABlab(27.17, 4.02, -31.85)
CIE-LCHlch(27.17, 32.10, 277.19°)
OKLaboklab(37.3% -0.0259 -0.091)
OKLCHoklch(37.3% 0.095 254.1)
XYZxyz(5.2232, 5.1544, 16.3392)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174171 #714717
analogous
#176E71 #174171 #1A1771
triadic
#174171 #711741 #417117
tetradic
#174171 #71176E #714717 #17711A
square
#174171 #71176E #714717 #17711A
split-complementary
#174171 #711A17 #6E7117
monochromatic
#050F19 #0D243E #174171 #215EA4 #2E7CD4

Accessibility & contrast

On white

10.34
#174171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#174171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174171
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174171#FFFFFF#000000##FFFFFF
##1741711.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#1B3C70
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #174171;
/* rgb */ color: rgb(23, 65, 113);
/* oklch */ color: oklch(37.3% 0.095 254.1);
Tailwind
colors: {
  custom: {
    50: '#63759a',
    500: '#174171',
    950: '#000000',
  },
}
SCSS
$custom: #174171;
$custom-light: #63759a;
$custom-dark: #000000;
JSON
{
  "hex": "#174171",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 212,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37297,
    "c": 0.09461,
    "h": 254.1
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#174171
secondary
#A7753D
accent
#9A3FE9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #174171

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

Preview Lab → · Contrast checker → · Palette generator →

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