#174787#174787

#174787 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.3% C 0.119 H 257.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#174787
RGBrgb(23, 71, 135)
HSLhsl(214, 71%, 31%)
HSVhsv(214, 83%, 53%)
CMYKcmyk(83%, 47.4%, 0%, 47.1%)
CIE-LABlab(30.49, 8.98, -40.31)
CIE-LCHlch(30.49, 41.30, 282.56°)
OKLaboklab(40.34% -0.0265 -0.1157)
OKLCHoklch(40.34% 0.119 257.1)
XYZxyz(6.9781, 6.4371, 23.7917)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174787 #875717
analogous
#177F87 #174787 #1F1787
triadic
#174787 #871747 #478717
tetradic
#174787 #87177F #875717 #17871F
square
#174787 #87177F #875717 #17871F
split-complementary
#174787 #871F17 #7F8717
monochromatic
#05101E #0E2B53 #174787 #2062BB #3B81DE

Accessibility & contrast

On white

9.18
#174787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#174787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174787
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174787#FFFFFF#000000##FFFFFF
##1747871.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#074386
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #174787;
/* rgb */ color: rgb(23, 71, 135);
/* oklch */ color: oklch(40.3% 0.119 257.1);
Tailwind
colors: {
  custom: {
    50: '#6879aa',
    500: '#174787',
    950: '#000000',
  },
}
SCSS
$custom: #174787;
$custom-light: #6879aa;
$custom-dark: #000000;
JSON
{
  "hex": "#174787",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 214.286,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40336,
    "c": 0.11872,
    "h": 257.1
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#174787
secondary
#BB863F
accent
#A13AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174787

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

Preview Lab → · Contrast checker → · Palette generator →

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