#174B8A#174B8A

#174B8A is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.5% C 0.118 H 255.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#174B8A
RGBrgb(23, 75, 138)
HSLhsl(213, 71%, 32%)
HSVhsv(213, 83%, 54%)
CMYKcmyk(83.3%, 45.7%, 0%, 45.9%)
CIE-LABlab(31.92, 7.49, -39.87)
CIE-LCHlch(31.92, 40.56, 280.65°)
OKLaboklab(41.51% -0.0293 -0.1143)
OKLCHoklch(41.51% 0.118 255.6)
XYZxyz(7.4552, 7.0484, 25.0074)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174B8A #8A5617
analogous
#17858A #174B8A #1D178A
triadic
#174B8A #8A174B #4B8A17
tetradic
#174B8A #8A1785 #8A5617 #178A1D
square
#174B8A #8A1785 #8A5617 #178A1D
split-complementary
#174B8A #8A1D17 #858A17
monochromatic
#061221 #0E2E56 #174B8A #2068BE #3D86DF

Accessibility & contrast

On white

8.71
#174B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#174B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174B8A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174B8A#FFFFFF#000000##FFFFFF
##174B8A1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518C
Deuteranopia (green-blind)
#114689
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #174b8a;
/* rgb */ color: rgb(23, 75, 138);
/* oklch */ color: oklch(41.5% 0.118 255.6);
Tailwind
colors: {
  custom: {
    50: '#687cac',
    500: '#174b8a',
    950: '#000000',
  },
}
SCSS
$custom: #174b8a;
$custom-light: #687cac;
$custom-dark: #000000;
JSON
{
  "hex": "#174b8a",
  "rgb": {
    "r": 23,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 212.87,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.11803,
    "h": 255.6
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#174B8A
secondary
#BE843F
accent
#9D3AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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