#174A99#174A99

#174A99 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.140 H 259.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#174A99
RGBrgb(23, 74, 153)
HSLhsl(216, 74%, 35%)
HSVhsv(216, 85%, 60%)
CMYKcmyk(85%, 51.6%, 0%, 40%)
CIE-LABlab(32.65, 14.32, -47.83)
CIE-LCHlch(32.65, 49.93, 286.66°)
OKLaboklab(42.4% -0.0259 -0.1378)
OKLCHoklch(42.4% 0.14 259.4)
XYZxyz(8.5498, 7.3786, 31.1044)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A99 #996617
analogous
#178B99 #174A99 #251799
triadic
#174A99 #99174A #4A9917
tetradic
#174A99 #99178B #996617 #179925
square
#174A99 #99178B #996617 #179925
split-complementary
#174A99 #992517 #8B9917
monochromatic
#07172F #0F3064 #174A99 #1F64CE #4784E3

Accessibility & contrast

On white

8.48
#174A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#174A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A99
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A99#FFFFFF#000000##FFFFFF
##174A991.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #174a99;
/* rgb */ color: rgb(23, 74, 153);
/* oklch */ color: oklch(42.4% 0.140 259.4);
Tailwind
colors: {
  custom: {
    50: '#6c7bb8',
    500: '#174a99',
    950: '#000000',
  },
}
SCSS
$custom: #174a99;
$custom-light: #6c7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#174a99",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 153
  },
  "hsl": {
    "h": 216.462,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.14022,
    "h": 259.4
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#174A99
secondary
#C59347
accent
#A837F1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174A99

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

Preview Lab → · Contrast checker → · Palette generator →

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