#174B99#174B99

#174B99 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.139 H 259.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#174B99
RGBrgb(23, 75, 153)
HSLhsl(216, 74%, 35%)
HSVhsv(216, 85%, 60%)
CMYKcmyk(85%, 51%, 0%, 40%)
CIE-LABlab(32.95, 13.64, -47.36)
CIE-LCHlch(32.95, 49.28, 286.06°)
OKLaboklab(42.63% -0.0266 -0.1364)
OKLCHoklch(42.63% 0.139 259)
XYZxyz(8.6171, 7.5131, 31.1268)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174B99 #996517
analogous
#178C99 #174B99 #241799
triadic
#174B99 #99174B #4B9917
tetradic
#174B99 #99178C #996517 #179924
square
#174B99 #99178C #996517 #179924
split-complementary
#174B99 #992417 #8C9917
monochromatic
#07172F #0F3164 #174B99 #1F65CE #4786E3

Accessibility & contrast

On white

8.39
#174B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#174B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174B99
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174B99#FFFFFF#000000##FFFFFF
##174B991.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #174b99;
/* rgb */ color: rgb(23, 75, 153);
/* oklch */ color: oklch(42.6% 0.139 259.0);
Tailwind
colors: {
  custom: {
    50: '#6c7cb8',
    500: '#174b99',
    950: '#000000',
  },
}
SCSS
$custom: #174b99;
$custom-light: #6c7cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#174b99",
  "rgb": {
    "r": 23,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 216,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4263,
    "c": 0.13896,
    "h": 259
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#174B99
secondary
#C59247
accent
#A637F1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174B99

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

Preview Lab → · Contrast checker → · Palette generator →

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