#174871#174871

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

Color values

HEX#174871
RGBrgb(23, 72, 113)
HSLhsl(207, 66%, 27%)
HSVhsv(207, 80%, 44%)
CMYKcmyk(79.6%, 36.3%, 0%, 55.7%)
CIE-LABlab(29.43, -0.70, -28.25)
CIE-LCHlch(29.43, 28.26, 268.59°)
OKLaboklab(39.07% -0.0329 -0.0803)
OKLCHoklch(39.07% 0.087 247.7)
XYZxyz(5.6502, 6.0085, 16.4815)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174871 #714017
analogous
#17716D #174871 #171B71
triadic
#174871 #711748 #487117
tetradic
#174871 #6D1771 #714017 #1B7117
square
#174871 #6D1771 #714017 #1B7117
split-complementary
#174871 #71171B #716D17
monochromatic
#051019 #0D283E #174871 #2168A4 #2E89D4

Accessibility & contrast

On white

9.54
#174871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#174871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174871
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174871#FFFFFF#000000##FFFFFF
##1748711.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #174871;
/* rgb */ color: rgb(23, 72, 113);
/* oklch */ color: oklch(39.1% 0.087 247.7);
Tailwind
colors: {
  custom: {
    50: '#637a9a',
    500: '#174871',
    950: '#000000',
  },
}
SCSS
$custom: #174871;
$custom-light: #637a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#174871",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 207.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39069,
    "c": 0.0868,
    "h": 247.7
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#174871
secondary
#A76D3D
accent
#8C3FE9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #174871

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

Preview Lab → · Contrast checker → · Palette generator →

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