#174B9D#174B9D

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

Color values

HEX#174B9D
RGBrgb(23, 75, 157)
HSLhsl(217, 74%, 35%)
HSVhsv(217, 85%, 62%)
CMYKcmyk(85.4%, 52.2%, 0%, 38.4%)
CIE-LABlab(33.24, 15.27, -49.31)
CIE-LCHlch(33.24, 51.62, 287.20°)
OKLaboklab(42.94% -0.026 -0.1421)
OKLCHoklch(42.94% 0.144 259.6)
XYZxyz(8.9530, 7.6475, 32.8960)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174B9D #9D6917
analogous
#178E9D #174B9D #26179D
triadic
#174B9D #9D174B #4B9D17
tetradic
#174B9D #9D178E #9D6917 #179D26
square
#174B9D #9D178E #9D6917 #179D26
split-complementary
#174B9D #9D2617 #8E9D17
monochromatic
#071832 #0F3268 #174B9D #1F65D2 #4A86E4

Accessibility & contrast

On white

8.30
#174B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#174B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174B9D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174B9D#FFFFFF#000000##FFFFFF
##174B9D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #174b9d;
/* rgb */ color: rgb(23, 75, 157);
/* oklch */ color: oklch(42.9% 0.144 259.6);
Tailwind
colors: {
  custom: {
    50: '#6d7cbb',
    500: '#174b9d',
    950: '#000000',
  },
}
SCSS
$custom: #174b9d;
$custom-light: #6d7cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#174b9d",
  "rgb": {
    "r": 23,
    "g": 75,
    "b": 157
  },
  "hsl": {
    "h": 216.716,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42944,
    "c": 0.14449,
    "h": 259.6
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#174B9D
secondary
#C6964A
accent
#A937F1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #174B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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