#174788#174788

#174788 is a dark, vivid cyan. Relative luminance 0.065; OKLCH L 40.4% C 0.120 H 257.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#174788
RGBrgb(23, 71, 136)
HSLhsl(215, 71%, 31%)
HSVhsv(215, 83%, 53%)
CMYKcmyk(83.1%, 47.8%, 0%, 46.7%)
CIE-LABlab(30.56, 9.39, -40.82)
CIE-LCHlch(30.56, 41.88, 282.96°)
OKLaboklab(40.41% -0.0263 -0.1172)
OKLCHoklch(40.41% 0.12 257.4)
XYZxyz(7.0489, 6.4654, 24.1642)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174788 #885817
analogous
#177F88 #174788 #1F1788
triadic
#174788 #881747 #478817
tetradic
#174788 #88177F #885817 #17881F
square
#174788 #88177F #885817 #17881F
split-complementary
#174788 #881F17 #7F8817
monochromatic
#05101F #0E2C54 #174788 #2062BC #3B80DE

Accessibility & contrast

On white

9.16
#174788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174788
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174788#FFFFFF#000000##FFFFFF
##1747881.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8A
Deuteranopia (green-blind)
#044387
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #174788;
/* rgb */ color: rgb(23, 71, 136);
/* oklch */ color: oklch(40.4% 0.120 257.4);
Tailwind
colors: {
  custom: {
    50: '#6879ab',
    500: '#174788',
    950: '#000000',
  },
}
SCSS
$custom: #174788;
$custom-light: #6879ab;
$custom-dark: #000000;
JSON
{
  "hex": "#174788",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 214.513,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40411,
    "c": 0.12014,
    "h": 257.4
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #174788

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

Preview Lab → · Contrast checker → · Palette generator →

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