#174F9F#174F9F

#174F9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.142 H 258.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#174F9F
RGBrgb(23, 79, 159)
HSLhsl(215, 75%, 36%)
HSVhsv(215, 86%, 62%)
CMYKcmyk(85.5%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.55, 13.37, -48.39)
CIE-LCHlch(34.55, 50.20, 285.45°)
OKLaboklab(44% -0.0286 -0.1393)
OKLCHoklch(44% 0.142 258.4)
XYZxyz(9.4050, 8.2761, 33.8959)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F9F #9F6717
analogous
#17939F #174F9F #23179F
triadic
#174F9F #9F174F #4F9F17
tetradic
#174F9F #9F1793 #9F6717 #179F23
square
#174F9F #9F1793 #9F6717 #179F23
split-complementary
#174F9F #9F2317 #939F17
monochromatic
#081A34 #0F346A #174F9F #1F6AD4 #4B8BE5

Accessibility & contrast

On white

7.91
#174F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#174F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F9F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F9F#FFFFFF#000000##FFFFFF
##174F9F1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #174f9f;
/* rgb */ color: rgb(23, 79, 159);
/* oklch */ color: oklch(44.0% 0.142 258.4);
Tailwind
colors: {
  custom: {
    50: '#6e7fbc',
    500: '#174f9f',
    950: '#000000',
  },
}
SCSS
$custom: #174f9f;
$custom-light: #6e7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#174f9f",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 215.294,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43996,
    "c": 0.14225,
    "h": 258.4
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#174F9F
secondary
#C7944B
accent
#A436F1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #174F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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