#174B97#174B97

#174B97 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.136 H 258.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#174B97
RGBrgb(23, 75, 151)
HSLhsl(216, 74%, 34%)
HSVhsv(216, 85%, 59%)
CMYKcmyk(84.8%, 50.3%, 0%, 40.8%)
CIE-LABlab(32.80, 12.82, -46.38)
CIE-LCHlch(32.80, 48.12, 285.45°)
OKLaboklab(42.48% -0.0269 -0.1335)
OKLCHoklch(42.48% 0.136 258.6)
XYZxyz(8.4533, 7.4476, 30.2642)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174B97 #976317
analogous
#178B97 #174B97 #231797
triadic
#174B97 #97174B #4B9717
tetradic
#174B97 #97178B #976317 #179723
square
#174B97 #97178B #976317 #179723
split-complementary
#174B97 #972317 #8B9717
monochromatic
#07162D #0F3162 #174B97 #1F65CC #4685E3

Accessibility & contrast

On white

8.43
#174B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#174B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174B97
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174B97#FFFFFF#000000##FFFFFF
##174B971.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #174b97;
/* rgb */ color: rgb(23, 75, 151);
/* oklch */ color: oklch(42.5% 0.136 258.6);
Tailwind
colors: {
  custom: {
    50: '#6c7cb6',
    500: '#174b97',
    950: '#000000',
  },
}
SCSS
$custom: #174b97;
$custom-light: #6c7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#174b97",
  "rgb": {
    "r": 23,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 215.625,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42475,
    "c": 0.13618,
    "h": 258.6
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#174B97
secondary
#C49146
accent
#A538F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174B97

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

Preview Lab → · Contrast checker → · Palette generator →

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