#174F9E#174F9E

#174F9E is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.141 H 258.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#174F9E
RGBrgb(23, 79, 158)
HSLhsl(215, 75%, 35%)
HSVhsv(215, 85%, 62%)
CMYKcmyk(85.4%, 50%, 0%, 38%)
CIE-LABlab(34.48, 12.96, -47.90)
CIE-LCHlch(34.48, 49.63, 285.14°)
OKLaboklab(43.92% -0.0288 -0.1379)
OKLCHoklch(43.92% 0.141 258.2)
XYZxyz(9.3186, 8.2416, 33.4408)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F9E #9E6617
analogous
#17929E #174F9E #22179E
triadic
#174F9E #9E174F #4F9E17
tetradic
#174F9E #9E1792 #9E6617 #179E22
square
#174F9E #9E1792 #9E6617 #179E22
split-complementary
#174F9E #9E2217 #929E17
monochromatic
#071A33 #0F3469 #174F9E #1F6AD3 #4B8BE5

Accessibility & contrast

On white

7.93
#174F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#174F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F9E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F9E#FFFFFF#000000##FFFFFF
##174F9E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #174f9e;
/* rgb */ color: rgb(23, 79, 158);
/* oklch */ color: oklch(43.9% 0.141 258.2);
Tailwind
colors: {
  custom: {
    50: '#6d7fbb',
    500: '#174f9e',
    950: '#000000',
  },
}
SCSS
$custom: #174f9e;
$custom-light: #6d7fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#174f9e",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 215.111,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4392,
    "c": 0.14087,
    "h": 258.2
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#174F9E
secondary
#C6934A
accent
#A437F1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #174F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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