#174487#174487

#174487 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.6% C 0.123 H 258.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#174487
RGBrgb(23, 68, 135)
HSLhsl(216, 71%, 31%)
HSVhsv(216, 83%, 53%)
CMYKcmyk(83%, 49.6%, 0%, 47.1%)
CIE-LABlab(29.58, 11.04, -41.78)
CIE-LCHlch(29.58, 43.21, 284.80°)
OKLaboklab(39.63% -0.024 -0.1201)
OKLCHoklch(39.63% 0.123 258.7)
XYZxyz(6.7920, 6.0649, 23.7296)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174487 #875A17
analogous
#177C87 #174487 #221787
triadic
#174487 #871744 #448717
tetradic
#174487 #87177C #875A17 #178722
square
#174487 #87177C #875A17 #178722
split-complementary
#174487 #872217 #7C8717
monochromatic
#050F1E #0E2A53 #174487 #205EBB #3B7CDE

Accessibility & contrast

On white

9.49
#174487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#174487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174487
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174487#FFFFFF#000000##FFFFFF
##1744871.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B89
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #174487;
/* rgb */ color: rgb(23, 68, 135);
/* oklch */ color: oklch(39.6% 0.123 258.7);
Tailwind
colors: {
  custom: {
    50: '#6877aa',
    500: '#174487',
    950: '#000000',
  },
}
SCSS
$custom: #174487;
$custom-light: #6877aa;
$custom-dark: #000000;
JSON
{
  "hex": "#174487",
  "rgb": {
    "r": 23,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 215.893,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39632,
    "c": 0.12251,
    "h": 258.7
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#174487
secondary
#BB893F
accent
#A63AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174487

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

Preview Lab → · Contrast checker → · Palette generator →

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