#174589#174589

#174589 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.124 H 258.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#174589
RGBrgb(23, 69, 137)
HSLhsl(216, 71%, 31%)
HSVhsv(216, 83%, 54%)
CMYKcmyk(83.2%, 49.6%, 0%, 46.3%)
CIE-LABlab(30.02, 11.18, -42.30)
CIE-LCHlch(30.02, 43.75, 284.80°)
OKLaboklab(40.02% -0.0245 -0.1216)
OKLCHoklch(40.02% 0.124 258.6)
XYZxyz(6.9952, 6.2437, 24.4985)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174589 #895B17
analogous
#177E89 #174589 #221789
triadic
#174589 #891745 #458917
tetradic
#174589 #89177E #895B17 #178922
square
#174589 #89177E #895B17 #178922
split-complementary
#174589 #892217 #7E8917
monochromatic
#051020 #0E2B55 #174589 #205FBD #3C7EDE

Accessibility & contrast

On white

9.34
#174589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#174589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174589
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174589#FFFFFF#000000##FFFFFF
##1745891.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8C
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #174589;
/* rgb */ color: rgb(23, 69, 137);
/* oklch */ color: oklch(40.0% 0.124 258.6);
Tailwind
colors: {
  custom: {
    50: '#6878ac',
    500: '#174589',
    950: '#000000',
  },
}
SCSS
$custom: #174589;
$custom-light: #6878ac;
$custom-dark: #000000;
JSON
{
  "hex": "#174589",
  "rgb": {
    "r": 23,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 215.789,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40018,
    "c": 0.12408,
    "h": 258.6
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#174589
secondary
#BD8A3F
accent
#A53AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174589

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

Preview Lab → · Contrast checker → · Palette generator →

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