#174389#174389

#174389 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.127 H 259.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#174389
RGBrgb(23, 67, 137)
HSLhsl(217, 71%, 31%)
HSVhsv(217, 83%, 54%)
CMYKcmyk(83.2%, 51.1%, 0%, 46.3%)
CIE-LABlab(29.42, 12.56, -43.27)
CIE-LCHlch(29.42, 45.06, 286.18°)
OKLaboklab(39.56% -0.0229 -0.1245)
OKLCHoklch(39.56% 0.127 259.6)
XYZxyz(6.8742, 6.0018, 24.4582)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174389 #895D17
analogous
#177C89 #174389 #241789
triadic
#174389 #891743 #438917
tetradic
#174389 #89177C #895D17 #178924
square
#174389 #89177C #895D17 #178924
split-complementary
#174389 #892417 #7C8917
monochromatic
#051020 #0E2955 #174389 #205DBD #3C7BDE

Accessibility & contrast

On white

9.54
#174389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#174389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174389
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174389#FFFFFF#000000##FFFFFF
##1743891.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8C
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174389;
/* rgb */ color: rgb(23, 67, 137);
/* oklch */ color: oklch(39.6% 0.127 259.6);
Tailwind
colors: {
  custom: {
    50: '#6876ac',
    500: '#174389',
    950: '#000000',
  },
}
SCSS
$custom: #174389;
$custom-light: #6876ac;
$custom-dark: #000000;
JSON
{
  "hex": "#174389",
  "rgb": {
    "r": 23,
    "g": 67,
    "b": 137
  },
  "hsl": {
    "h": 216.842,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39556,
    "c": 0.12663,
    "h": 259.6
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#174389
secondary
#BD8C3F
accent
#A83AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174389

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

Preview Lab → · Contrast checker → · Palette generator →

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