#174A6C#174A6C

#174A6C is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.3% C 0.078 H 242.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#174A6C
RGBrgb(23, 74, 108)
HSLhsl(204, 65%, 26%)
HSVhsv(204, 79%, 42%)
CMYKcmyk(78.7%, 31.5%, 0%, 57.6%)
CIE-LABlab(29.82, -4.00, -24.49)
CIE-LCHlch(29.82, 24.81, 260.72°)
OKLaboklab(39.28% -0.0366 -0.0693)
OKLCHoklch(39.28% 0.078 242.2)
XYZxyz(5.5079, 6.1618, 15.0835)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A6C #6C3917
analogous
#176C63 #174A6C #171F6C
triadic
#174A6C #6C174A #4A6C17
tetradic
#174A6C #63176C #6C3917 #1F6C17
square
#174A6C #63176C #6C3917 #1F6C17
split-complementary
#174A6C #6C171F #6C6317
monochromatic
#051119 #0C273A #174A6C #226D9E #2C8FD1

Accessibility & contrast

On white

9.41
#174A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#174A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A6C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A6C#FFFFFF#000000##FFFFFF
##174A6C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B6E
Deuteranopia (green-blind)
#2F436B
Tritanopia (blue-blind)
#005256
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #174a6c;
/* rgb */ color: rgb(23, 74, 108);
/* oklch */ color: oklch(39.3% 0.078 242.2);
Tailwind
colors: {
  custom: {
    50: '#627c96',
    500: '#174a6c',
    950: '#000000',
  },
}
SCSS
$custom: #174a6c;
$custom-light: #627c96;
$custom-dark: #000000;
JSON
{
  "hex": "#174a6c",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 108
  },
  "hsl": {
    "h": 204,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39282,
    "c": 0.07838,
    "h": 242.2
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#174A6C
secondary
#A2653D
accent
#8340E8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #174A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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