#174186#174186

#174186 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.9% C 0.125 H 260.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#174186
RGBrgb(23, 65, 134)
HSLhsl(217, 71%, 31%)
HSVhsv(217, 83%, 53%)
CMYKcmyk(82.8%, 51.5%, 0%, 47.5%)
CIE-LABlab(28.60, 12.71, -42.74)
CIE-LCHlch(28.60, 44.58, 286.56°)
OKLaboklab(38.86% -0.0218 -0.123)
OKLCHoklch(38.86% 0.125 260)
XYZxyz(6.5452, 5.6832, 23.3016)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174186 #865C17
analogous
#177886 #174186 #241786
triadic
#174186 #861741 #418617
tetradic
#174186 #861778 #865C17 #178624
square
#174186 #861778 #865C17 #178624
split-complementary
#174186 #862417 #788617
monochromatic
#050E1E #0E2852 #174186 #205ABA #3A78DD

Accessibility & contrast

On white

9.83
#174186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#174186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174186
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174186#FFFFFF#000000##FFFFFF
##1741861.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164989
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #174186;
/* rgb */ color: rgb(23, 65, 134);
/* oklch */ color: oklch(38.9% 0.125 260.0);
Tailwind
colors: {
  custom: {
    50: '#6875aa',
    500: '#174186',
    950: '#000000',
  },
}
SCSS
$custom: #174186;
$custom-light: #6875aa;
$custom-dark: #000000;
JSON
{
  "hex": "#174186",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 217.297,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3886,
    "c": 0.12491,
    "h": 260
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#174186
secondary
#BA8B3F
accent
#AA3AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174186

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

Preview Lab → · Contrast checker → · Palette generator →

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