#174C99#174C99

#174C99 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.138 H 258.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#174C99
RGBrgb(23, 76, 153)
HSLhsl(216, 74%, 35%)
HSVhsv(216, 85%, 60%)
CMYKcmyk(85%, 50.3%, 0%, 40%)
CIE-LABlab(33.24, 12.96, -46.88)
CIE-LCHlch(33.24, 48.64, 285.45°)
OKLaboklab(42.86% -0.0273 -0.135)
OKLCHoklch(42.86% 0.138 258.5)
XYZxyz(8.6854, 7.6499, 31.1496)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174C99 #996417
analogous
#178D99 #174C99 #231799
triadic
#174C99 #99174C #4C9917
tetradic
#174C99 #99178D #996417 #179923
square
#174C99 #99178D #996417 #179923
split-complementary
#174C99 #992317 #8D9917
monochromatic
#07172F #0F3264 #174C99 #1F66CE #4787E3

Accessibility & contrast

On white

8.30
#174C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#174C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174C99
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174C99#FFFFFF#000000##FFFFFF
##174C991.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #174c99;
/* rgb */ color: rgb(23, 76, 153);
/* oklch */ color: oklch(42.9% 0.138 258.5);
Tailwind
colors: {
  custom: {
    50: '#6c7db8',
    500: '#174c99',
    950: '#000000',
  },
}
SCSS
$custom: #174c99;
$custom-light: #6c7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#174c99",
  "rgb": {
    "r": 23,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 215.538,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42856,
    "c": 0.13771,
    "h": 258.5
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#174C99
secondary
#C59147
accent
#A537F1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174C99

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

Preview Lab → · Contrast checker → · Palette generator →

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