#174878#174878

#174878 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.5% C 0.096 H 251.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#174878
RGBrgb(23, 72, 120)
HSLhsl(210, 68%, 28%)
HSVhsv(210, 81%, 47%)
CMYKcmyk(80.8%, 40%, 0%, 52.9%)
CIE-LABlab(29.84, 2.14, -32.01)
CIE-LCHlch(29.84, 32.08, 273.83°)
OKLaboklab(39.52% -0.0309 -0.0913)
OKLCHoklch(39.52% 0.096 251.3)
XYZxyz(6.0596, 6.1722, 18.6377)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174878 #784717
analogous
#177877 #174878 #171778
triadic
#174878 #781748 #487817
tetradic
#174878 #771778 #784717 #177817
square
#174878 #771778 #784717 #177817
split-complementary
#174878 #781717 #787717
monochromatic
#050F1A #0D2945 #174878 #2167AB #3286D8

Accessibility & contrast

On white

9.40
#174878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#174878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174878
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174878#FFFFFF#000000##FFFFFF
##1748781.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7A
Deuteranopia (green-blind)
#224277
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #174878;
/* rgb */ color: rgb(23, 72, 120);
/* oklch */ color: oklch(39.5% 0.096 251.3);
Tailwind
colors: {
  custom: {
    50: '#647a9f',
    500: '#174878',
    950: '#000000',
  },
}
SCSS
$custom: #174878;
$custom-light: #647a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#174878",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 209.691,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39524,
    "c": 0.09639,
    "h": 251.3
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#174878
secondary
#AD753E
accent
#933DEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #174878

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

Preview Lab → · Contrast checker → · Palette generator →

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