#174A86#174A86

#174A86 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 41.0% C 0.114 H 255.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#174A86
RGBrgb(23, 74, 134)
HSLhsl(212, 71%, 31%)
HSVhsv(212, 83%, 53%)
CMYKcmyk(82.8%, 44.8%, 0%, 47.5%)
CIE-LABlab(31.35, 6.53, -38.31)
CIE-LCHlch(31.35, 38.87, 279.67°)
OKLaboklab(40.98% -0.0293 -0.1098)
OKLCHoklch(40.98% 0.114 255.1)
XYZxyz(7.1036, 6.8001, 23.4878)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A86 #865317
analogous
#178186 #174A86 #1B1786
triadic
#174A86 #86174A #4A8617
tetradic
#174A86 #861781 #865317 #17861B
square
#174A86 #861781 #865317 #17861B
split-complementary
#174A86 #861B17 #818617
monochromatic
#05101E #0E2D52 #174A86 #2067BA #3A85DD

Accessibility & contrast

On white

8.90
#174A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#174A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A86
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A86#FFFFFF#000000##FFFFFF
##174A861.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F88
Deuteranopia (green-blind)
#154585
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #174a86;
/* rgb */ color: rgb(23, 74, 134);
/* oklch */ color: oklch(41.0% 0.114 255.1);
Tailwind
colors: {
  custom: {
    50: '#677caa',
    500: '#174a86',
    950: '#000000',
  },
}
SCSS
$custom: #174a86;
$custom-light: #677caa;
$custom-dark: #000000;
JSON
{
  "hex": "#174a86",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 134
  },
  "hsl": {
    "h": 212.432,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40979,
    "c": 0.11363,
    "h": 255.1
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#174A86
secondary
#BA813F
accent
#9B3AED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174A86

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

Preview Lab → · Contrast checker → · Palette generator →

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