#174F88#174F88

#174F88 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.111 H 252.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#174F88
RGBrgb(23, 79, 136)
HSLhsl(210, 71%, 31%)
HSVhsv(210, 83%, 53%)
CMYKcmyk(83.1%, 41.9%, 0%, 46.7%)
CIE-LABlab(33.03, 4.00, -36.86)
CIE-LCHlch(33.03, 37.07, 276.19°)
OKLaboklab(42.33% -0.0332 -0.1054)
OKLCHoklch(42.33% 0.111 252.5)
XYZxyz(7.5916, 7.5508, 24.3451)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F88 #885017
analogous
#178788 #174F88 #171788
triadic
#174F88 #88174F #4F8817
tetradic
#174F88 #881787 #885017 #178817
square
#174F88 #881787 #885017 #178817
split-complementary
#174F88 #881717 #878817
monochromatic
#05121F #0E3154 #174F88 #206DBC #3B8CDE

Accessibility & contrast

On white

8.37
#174F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#174F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F88
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F88#FFFFFF#000000##FFFFFF
##174F881.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538A
Deuteranopia (green-blind)
#204987
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #174f88;
/* rgb */ color: rgb(23, 79, 136);
/* oklch */ color: oklch(42.3% 0.111 252.5);
Tailwind
colors: {
  custom: {
    50: '#687fab',
    500: '#174f88',
    950: '#000000',
  },
}
SCSS
$custom: #174f88;
$custom-light: #687fab;
$custom-dark: #000000;
JSON
{
  "hex": "#174f88",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 136
  },
  "hsl": {
    "h": 210.265,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42329,
    "c": 0.11051,
    "h": 252.5
  },
  "luminance": 0.07552
}

Semantic roles & 50–950 ramp

primary
#174F88
secondary
#BC7E3F
accent
#953AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #174F88

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

Preview Lab → · Contrast checker → · Palette generator →

#174F88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva