#174486#174486

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

Color values

HEX#174486
RGBrgb(23, 68, 134)
HSLhsl(216, 71%, 31%)
HSVhsv(216, 83%, 53%)
CMYKcmyk(82.8%, 49.3%, 0%, 47.5%)
CIE-LABlab(29.51, 10.63, -41.27)
CIE-LCHlch(29.51, 42.62, 284.44°)
OKLaboklab(39.56% -0.0242 -0.1186)
OKLCHoklch(39.56% 0.121 258.5)
XYZxyz(6.7220, 6.0368, 23.3606)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174486 #865917
analogous
#177B86 #174486 #221786
triadic
#174486 #861744 #448617
tetradic
#174486 #86177B #865917 #178622
square
#174486 #86177B #865917 #178622
split-complementary
#174486 #862217 #7B8617
monochromatic
#050F1E #0E2952 #174486 #205FBA #3A7CDD

Accessibility & contrast

On white

9.51
#174486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174486
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174486#FFFFFF#000000##FFFFFF
##1744861.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B88
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #174486;
/* rgb */ color: rgb(23, 68, 134);
/* oklch */ color: oklch(39.6% 0.121 258.5);
Tailwind
colors: {
  custom: {
    50: '#6877aa',
    500: '#174486',
    950: '#000000',
  },
}
SCSS
$custom: #174486;
$custom-light: #6877aa;
$custom-dark: #000000;
JSON
{
  "hex": "#174486",
  "rgb": {
    "r": 23,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 215.676,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39556,
    "c": 0.12108,
    "h": 258.5
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#174486
secondary
#BA883F
accent
#A53AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174486

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

Preview Lab → · Contrast checker → · Palette generator →

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