#174A8D#174A8D

#174A8D is a dark, vivid cyan. Relative luminance 0.070; OKLCH L 41.5% C 0.123 H 257.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#174A8D
RGBrgb(23, 74, 141)
HSLhsl(214, 72%, 32%)
HSVhsv(214, 84%, 55%)
CMYKcmyk(83.7%, 47.5%, 0%, 44.7%)
CIE-LABlab(31.81, 9.40, -41.88)
CIE-LCHlch(31.81, 42.92, 282.65°)
OKLaboklab(41.49% -0.0278 -0.1203)
OKLCHoklch(41.49% 0.123 257)
XYZxyz(7.6081, 7.0019, 26.1447)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A8D #8D5A17
analogous
#17858D #174A8D #1F178D
triadic
#174A8D #8D174A #4A8D17
tetradic
#174A8D #8D1785 #8D5A17 #178D1F
square
#174A8D #8D1785 #8D5A17 #178D1F
split-complementary
#174A8D #8D1F17 #858D17
monochromatic
#061324 #0E2E58 #174A8D #2066C2 #3F84E0

Accessibility & contrast

On white

8.75
#174A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#174A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A8D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A8D#FFFFFF#000000##FFFFFF
##174A8D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255190
Deuteranopia (green-blind)
#04468C
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #174a8d;
/* rgb */ color: rgb(23, 74, 141);
/* oklch */ color: oklch(41.5% 0.123 257.0);
Tailwind
colors: {
  custom: {
    50: '#697baf',
    500: '#174a8d',
    950: '#000000',
  },
}
SCSS
$custom: #174a8d;
$custom-light: #697baf;
$custom-dark: #000000;
JSON
{
  "hex": "#174a8d",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 214.068,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41488,
    "c": 0.12346,
    "h": 257
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#174A8D
secondary
#C08940
accent
#A039EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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