#174A9F#174A9F

#174A9F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.149 H 260.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#174A9F
RGBrgb(23, 74, 159)
HSLhsl(218, 75%, 36%)
HSVhsv(218, 86%, 62%)
CMYKcmyk(85.5%, 53.5%, 0%, 37.6%)
CIE-LABlab(33.10, 16.76, -50.74)
CIE-LCHlch(33.10, 53.44, 288.28°)
OKLaboklab(42.88% -0.0251 -0.1464)
OKLCHoklch(42.88% 0.149 260.3)
XYZxyz(9.0579, 7.5818, 33.7802)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A9F #9F6C17
analogous
#178E9F #174A9F #28179F
triadic
#174A9F #9F174A #4A9F17
tetradic
#174A9F #9F178E #9F6C17 #179F28
square
#174A9F #9F178E #9F6C17 #179F28
split-complementary
#174A9F #9F2817 #8E9F17
monochromatic
#081834 #0F316A #174A9F #1F63D4 #4B85E5

Accessibility & contrast

On white

8.34
#174A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#174A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A9F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A9F#FFFFFF#000000##FFFFFF
##174A9F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #174a9f;
/* rgb */ color: rgb(23, 74, 159);
/* oklch */ color: oklch(42.9% 0.149 260.3);
Tailwind
colors: {
  custom: {
    50: '#6e7bbc',
    500: '#174a9f',
    950: '#000000',
  },
}
SCSS
$custom: #174a9f;
$custom-light: #6e7bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#174a9f",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 159
  },
  "hsl": {
    "h": 217.5,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42883,
    "c": 0.14851,
    "h": 260.3
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#174A9F
secondary
#C7984B
accent
#AB36F1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #174A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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