#174897#174897

#174897 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.140 H 259.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#174897
RGBrgb(23, 72, 151)
HSLhsl(217, 74%, 34%)
HSVhsv(217, 85%, 59%)
CMYKcmyk(84.8%, 52.3%, 0%, 40.8%)
CIE-LABlab(31.92, 14.87, -47.81)
CIE-LCHlch(31.92, 50.06, 287.28°)
OKLaboklab(41.8% -0.0247 -0.1378)
OKLCHoklch(41.8% 0.14 259.8)
XYZxyz(8.2546, 7.0502, 30.1979)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174897 #976617
analogous
#178897 #174897 #261797
triadic
#174897 #971748 #489717
tetradic
#174897 #971788 #976617 #179726
square
#174897 #971788 #976617 #179726
split-complementary
#174897 #972617 #889717
monochromatic
#07152D #0F2F62 #174897 #1F61CC #4682E3

Accessibility & contrast

On white

8.71
#174897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#174897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174897
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174897#FFFFFF#000000##FFFFFF
##1748971.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12519A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #174897;
/* rgb */ color: rgb(23, 72, 151);
/* oklch */ color: oklch(41.8% 0.140 259.8);
Tailwind
colors: {
  custom: {
    50: '#6c7ab6',
    500: '#174897',
    950: '#000000',
  },
}
SCSS
$custom: #174897;
$custom-light: #6c7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#174897",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 217.031,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41798,
    "c": 0.13996,
    "h": 259.8
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#174897
secondary
#C49446
accent
#AA38F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174897

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

Preview Lab → · Contrast checker → · Palette generator →

#174897 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva