#174872#174872

#174872 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.1% C 0.088 H 248.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#174872
RGBrgb(23, 72, 114)
HSLhsl(208, 66%, 27%)
HSVhsv(208, 80%, 45%)
CMYKcmyk(79.8%, 36.8%, 0%, 55.3%)
CIE-LABlab(29.49, -0.29, -28.79)
CIE-LCHlch(29.49, 28.80, 269.42°)
OKLaboklab(39.13% -0.0326 -0.0819)
OKLCHoklch(39.13% 0.088 248.3)
XYZxyz(5.7068, 6.0311, 16.7797)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174872 #724117
analogous
#17726F #174872 #171B72
triadic
#174872 #721748 #487217
tetradic
#174872 #6F1772 #724117 #1B7217
square
#174872 #6F1772 #724117 #1B7217
split-complementary
#174872 #72171B #726F17
monochromatic
#051019 #0D283F #174872 #2168A5 #2E88D5

Accessibility & contrast

On white

9.52
#174872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#174872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174872
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174872#FFFFFF#000000##FFFFFF
##1748721.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#274271
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174872;
/* rgb */ color: rgb(23, 72, 114);
/* oklch */ color: oklch(39.1% 0.088 248.3);
Tailwind
colors: {
  custom: {
    50: '#637a9b',
    500: '#174872',
    950: '#000000',
  },
}
SCSS
$custom: #174872;
$custom-light: #637a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#174872",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 207.692,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39133,
    "c": 0.08815,
    "h": 248.3
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#174872
secondary
#A86E3D
accent
#8D3EE9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #174872

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

Preview Lab → · Contrast checker → · Palette generator →

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