#174887#174887

#174887 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.117 H 256.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#174887
RGBrgb(23, 72, 135)
HSLhsl(214, 71%, 31%)
HSVhsv(214, 83%, 53%)
CMYKcmyk(83%, 46.7%, 0%, 47.1%)
CIE-LABlab(30.80, 8.30, -39.82)
CIE-LCHlch(30.80, 40.67, 281.77°)
OKLaboklab(40.57% -0.0273 -0.1143)
OKLCHoklch(40.57% 0.117 256.5)
XYZxyz(7.0423, 6.5653, 23.8130)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174887 #875617
analogous
#178087 #174887 #1E1787
triadic
#174887 #871748 #488717
tetradic
#174887 #871780 #875617 #17871E
square
#174887 #871780 #875617 #17871E
split-complementary
#174887 #871E17 #808717
monochromatic
#05101E #0E2C53 #174887 #2064BB #3B82DE

Accessibility & contrast

On white

9.08
#174887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#174887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174887
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174887#FFFFFF#000000##FFFFFF
##1748871.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#0C4486
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #174887;
/* rgb */ color: rgb(23, 72, 135);
/* oklch */ color: oklch(40.6% 0.117 256.5);
Tailwind
colors: {
  custom: {
    50: '#687aaa',
    500: '#174887',
    950: '#000000',
  },
}
SCSS
$custom: #174887;
$custom-light: #687aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#174887",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 213.75,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.11748,
    "h": 256.5
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#174887
secondary
#BB853F
accent
#9F3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174887

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

Preview Lab → · Contrast checker → · Palette generator →

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