#174387#174387

#174387 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.124 H 259.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#174387
RGBrgb(23, 67, 135)
HSLhsl(216, 71%, 31%)
HSVhsv(216, 83%, 53%)
CMYKcmyk(83%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.27, 11.73, -42.27)
CIE-LCHlch(29.27, 43.86, 285.51°)
OKLaboklab(39.4% -0.0232 -0.1216)
OKLCHoklch(39.4% 0.124 259.2)
XYZxyz(6.7321, 5.9449, 23.7096)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174387 #875B17
analogous
#177B87 #174387 #231787
triadic
#174387 #871743 #438717
tetradic
#174387 #87177B #875B17 #178723
square
#174387 #87177B #875B17 #178723
split-complementary
#174387 #872317 #7B8717
monochromatic
#050F1E #0E2953 #174387 #205DBB #3B7BDE

Accessibility & contrast

On white

9.59
#174387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#174387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174387
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174387#FFFFFF#000000##FFFFFF
##1743871.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A89
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174387;
/* rgb */ color: rgb(23, 67, 135);
/* oklch */ color: oklch(39.4% 0.124 259.2);
Tailwind
colors: {
  custom: {
    50: '#6876aa',
    500: '#174387',
    950: '#000000',
  },
}
SCSS
$custom: #174387;
$custom-light: #6876aa;
$custom-dark: #000000;
JSON
{
  "hex": "#174387",
  "rgb": {
    "r": 23,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 216.429,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.394,
    "c": 0.12377,
    "h": 259.2
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#174387
secondary
#BB8A3F
accent
#A73AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174387

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

Preview Lab → · Contrast checker → · Palette generator →

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