#174C97#174C97

#174C97 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.7% C 0.135 H 258.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#174C97
RGBrgb(23, 76, 151)
HSLhsl(215, 74%, 34%)
HSVhsv(215, 85%, 59%)
CMYKcmyk(84.8%, 49.7%, 0%, 40.8%)
CIE-LABlab(33.10, 12.14, -45.90)
CIE-LCHlch(33.10, 47.48, 284.81°)
OKLaboklab(42.7% -0.0277 -0.1321)
OKLCHoklch(42.7% 0.135 258.2)
XYZxyz(8.5216, 7.5844, 30.2869)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174C97 #976217
analogous
#178C97 #174C97 #221797
triadic
#174C97 #97174C #4C9717
tetradic
#174C97 #97178C #976217 #179722
square
#174C97 #97178C #976217 #179722
split-complementary
#174C97 #972217 #8C9717
monochromatic
#07172D #0F3162 #174C97 #1F67CC #4687E3

Accessibility & contrast

On white

8.34
#174C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#174C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174C97
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174C97#FFFFFF#000000##FFFFFF
##174C971.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #174c97;
/* rgb */ color: rgb(23, 76, 151);
/* oklch */ color: oklch(42.7% 0.135 258.2);
Tailwind
colors: {
  custom: {
    50: '#6c7db6',
    500: '#174c97',
    950: '#000000',
  },
}
SCSS
$custom: #174c97;
$custom-light: #6c7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#174c97",
  "rgb": {
    "r": 23,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 215.156,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42703,
    "c": 0.13494,
    "h": 258.2
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#174C97
secondary
#C49046
accent
#A438F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174C97

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

Preview Lab → · Contrast checker → · Palette generator →

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