#174A96#174A96

#174A96 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.136 H 258.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#174A96
RGBrgb(23, 74, 150)
HSLhsl(216, 73%, 34%)
HSVhsv(216, 85%, 59%)
CMYKcmyk(84.7%, 50.7%, 0%, 41.2%)
CIE-LABlab(32.44, 13.09, -46.36)
CIE-LCHlch(32.44, 48.17, 285.77°)
OKLaboklab(42.17% -0.0263 -0.1335)
OKLCHoklch(42.17% 0.136 258.9)
XYZxyz(8.3051, 7.2807, 29.8158)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A96 #966317
analogous
#178A96 #174A96 #241796
triadic
#174A96 #96174A #4A9617
tetradic
#174A96 #96178A #966317 #179624
square
#174A96 #96178A #966317 #179624
split-complementary
#174A96 #962417 #8A9617
monochromatic
#07162C #0F3061 #174A96 #1F64CB #4584E2

Accessibility & contrast

On white

8.55
#174A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#174A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A96
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A96#FFFFFF#000000##FFFFFF
##174A961.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #174a96;
/* rgb */ color: rgb(23, 74, 150);
/* oklch */ color: oklch(42.2% 0.136 258.9);
Tailwind
colors: {
  custom: {
    50: '#6c7bb5',
    500: '#174a96',
    950: '#000000',
  },
}
SCSS
$custom: #174a96;
$custom-light: #6c7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#174a96",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 215.906,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.13605,
    "h": 258.9
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#174A96
secondary
#C39145
accent
#A638F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174A96

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

Preview Lab → · Contrast checker → · Palette generator →

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