#174386#174386

#174386 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.122 H 259.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#174386
RGBrgb(23, 67, 134)
HSLhsl(216, 71%, 31%)
HSVhsv(216, 83%, 53%)
CMYKcmyk(82.8%, 50%, 0%, 47.5%)
CIE-LABlab(29.20, 11.32, -41.76)
CIE-LCHlch(29.20, 43.27, 285.16°)
OKLaboklab(39.32% -0.0234 -0.1201)
OKLCHoklch(39.32% 0.122 259)
XYZxyz(6.6620, 5.9169, 23.3406)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174386 #865A17
analogous
#177A86 #174386 #221786
triadic
#174386 #861743 #438617
tetradic
#174386 #86177A #865A17 #178622
square
#174386 #86177A #865A17 #178622
split-complementary
#174386 #862217 #7A8617
monochromatic
#050F1E #0E2952 #174386 #205DBA #3A7BDD

Accessibility & contrast

On white

9.62
#174386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#174386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174386
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174386#FFFFFF#000000##FFFFFF
##1743861.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #174386;
/* rgb */ color: rgb(23, 67, 134);
/* oklch */ color: oklch(39.3% 0.122 259.0);
Tailwind
colors: {
  custom: {
    50: '#6876aa',
    500: '#174386',
    950: '#000000',
  },
}
SCSS
$custom: #174386;
$custom-light: #6876aa;
$custom-dark: #000000;
JSON
{
  "hex": "#174386",
  "rgb": {
    "r": 23,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 216.216,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39322,
    "c": 0.12235,
    "h": 259
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#174386
secondary
#BA893F
accent
#A63AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174386

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

Preview Lab → · Contrast checker → · Palette generator →

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