#174786#174786

#174786 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.3% C 0.117 H 256.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#174786
RGBrgb(23, 71, 134)
HSLhsl(214, 71%, 31%)
HSVhsv(214, 83%, 53%)
CMYKcmyk(82.8%, 47%, 0%, 47.5%)
CIE-LABlab(30.42, 8.57, -39.80)
CIE-LCHlch(30.42, 40.71, 282.15°)
OKLaboklab(40.26% -0.0267 -0.1142)
OKLCHoklch(40.26% 0.117 256.8)
XYZxyz(6.9081, 6.4090, 23.4226)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174786 #865617
analogous
#177E86 #174786 #1E1786
triadic
#174786 #861747 #478617
tetradic
#174786 #86177E #865617 #17861E
square
#174786 #86177E #865617 #17861E
split-complementary
#174786 #861E17 #7E8617
monochromatic
#05101E #0E2B52 #174786 #2063BA #3A81DD

Accessibility & contrast

On white

9.20
#174786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#174786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174786
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174786#FFFFFF#000000##FFFFFF
##1747861.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D88
Deuteranopia (green-blind)
#0A4385
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #174786;
/* rgb */ color: rgb(23, 71, 134);
/* oklch */ color: oklch(40.3% 0.117 256.8);
Tailwind
colors: {
  custom: {
    50: '#6879aa',
    500: '#174786',
    950: '#000000',
  },
}
SCSS
$custom: #174786;
$custom-light: #6879aa;
$custom-dark: #000000;
JSON
{
  "hex": "#174786",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 214.054,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40262,
    "c": 0.11731,
    "h": 256.8
  },
  "luminance": 0.0641
}

Semantic roles & 50–950 ramp

primary
#174786
secondary
#BA853F
accent
#A03AED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174786

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

Preview Lab → · Contrast checker → · Palette generator →

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