#174E9F#174E9F

#174E9F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.143 H 258.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#174E9F
RGBrgb(23, 78, 159)
HSLhsl(216, 75%, 36%)
HSVhsv(216, 86%, 62%)
CMYKcmyk(85.5%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.26, 14.05, -48.86)
CIE-LCHlch(34.26, 50.84, 286.04°)
OKLaboklab(43.77% -0.0279 -0.1408)
OKLCHoklch(43.77% 0.144 258.8)
XYZxyz(9.3334, 8.1330, 33.8721)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E9F #9F6817
analogous
#17929F #174E9F #24179F
triadic
#174E9F #9F174E #4E9F17
tetradic
#174E9F #9F1792 #9F6817 #179F24
square
#174E9F #9F1792 #9F6817 #179F24
split-complementary
#174E9F #9F2417 #929F17
monochromatic
#081A34 #0F346A #174E9F #1F68D4 #4B8AE5

Accessibility & contrast

On white

7.99
#174E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#174E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E9F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E9F#FFFFFF#000000##FFFFFF
##174E9F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #174e9f;
/* rgb */ color: rgb(23, 78, 159);
/* oklch */ color: oklch(43.8% 0.143 258.8);
Tailwind
colors: {
  custom: {
    50: '#6e7ebc',
    500: '#174e9f',
    950: '#000000',
  },
}
SCSS
$custom: #174e9f;
$custom-light: #6e7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#174e9f",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 215.735,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43771,
    "c": 0.1435,
    "h": 258.8
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#174E9F
secondary
#C7954B
accent
#A636F1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #174E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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