#174988#174988

#174988 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.9% C 0.118 H 256.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#174988
RGBrgb(23, 73, 136)
HSLhsl(213, 71%, 31%)
HSVhsv(213, 83%, 53%)
CMYKcmyk(83.1%, 46.3%, 0%, 46.7%)
CIE-LABlab(31.17, 8.03, -39.83)
CIE-LCHlch(31.17, 40.63, 281.40°)
OKLaboklab(40.88% -0.028 -0.1143)
OKLCHoklch(40.88% 0.118 256.2)
XYZxyz(7.1782, 6.7239, 24.2073)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174988 #885617
analogous
#178188 #174988 #1D1788
triadic
#174988 #881749 #498817
tetradic
#174988 #881781 #885617 #17881D
square
#174988 #881781 #885617 #17881D
split-complementary
#174988 #881D17 #818817
monochromatic
#05111F #0E2D54 #174988 #2065BC #3B83DE

Accessibility & contrast

On white

8.96
#174988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#174988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174988
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174988#FFFFFF#000000##FFFFFF
##1749881.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8A
Deuteranopia (green-blind)
#0E4587
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #174988;
/* rgb */ color: rgb(23, 73, 136);
/* oklch */ color: oklch(40.9% 0.118 256.2);
Tailwind
colors: {
  custom: {
    50: '#687bab',
    500: '#174988',
    950: '#000000',
  },
}
SCSS
$custom: #174988;
$custom-light: #687bab;
$custom-dark: #000000;
JSON
{
  "hex": "#174988",
  "rgb": {
    "r": 23,
    "g": 73,
    "b": 136
  },
  "hsl": {
    "h": 213.451,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40884,
    "c": 0.11767,
    "h": 256.2
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#174988
secondary
#BC853F
accent
#9E3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174988

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

Preview Lab → · Contrast checker → · Palette generator →

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