#174172#174172

#174172 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.4% C 0.096 H 254.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#174172
RGBrgb(23, 65, 114)
HSLhsl(212, 66%, 27%)
HSVhsv(212, 80%, 45%)
CMYKcmyk(79.8%, 43%, 0%, 55.3%)
CIE-LABlab(27.23, 4.43, -32.38)
CIE-LCHlch(27.23, 32.68, 277.79°)
OKLaboklab(37.37% -0.0257 -0.0925)
OKLCHoklch(37.37% 0.096 254.5)
XYZxyz(5.2798, 5.1770, 16.6373)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174172 #724817
analogous
#176F72 #174172 #1B1772
triadic
#174172 #721741 #417217
tetradic
#174172 #72176F #724817 #17721B
square
#174172 #72176F #724817 #17721B
split-complementary
#174172 #721B17 #6F7217
monochromatic
#050F19 #0D243F #174172 #215EA5 #2E7BD5

Accessibility & contrast

On white

10.32
#174172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#174172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174172
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174172#FFFFFF#000000##FFFFFF
##1741721.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294574
Deuteranopia (green-blind)
#1A3D71
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #174172;
/* rgb */ color: rgb(23, 65, 114);
/* oklch */ color: oklch(37.4% 0.096 254.5);
Tailwind
colors: {
  custom: {
    50: '#63759b',
    500: '#174172',
    950: '#000000',
  },
}
SCSS
$custom: #174172;
$custom-light: #63759b;
$custom-dark: #000000;
JSON
{
  "hex": "#174172",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 212.308,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37367,
    "c": 0.09604,
    "h": 254.5
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#174172
secondary
#A8763D
accent
#9A3EE9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #174172

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

Preview Lab → · Contrast checker → · Palette generator →

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