#174189#174189

#174189 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.129 H 260.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#174189
RGBrgb(23, 65, 137)
HSLhsl(218, 71%, 31%)
HSVhsv(218, 83%, 54%)
CMYKcmyk(83.2%, 52.6%, 0%, 46.3%)
CIE-LABlab(28.82, 13.95, -44.24)
CIE-LCHlch(28.82, 46.38, 287.50°)
OKLaboklab(39.1% -0.0213 -0.1274)
OKLCHoklch(39.1% 0.129 260.5)
XYZxyz(6.7574, 5.7681, 24.4193)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174189 #895F17
analogous
#177A89 #174189 #261789
triadic
#174189 #891741 #418917
tetradic
#174189 #89177A #895F17 #178926
square
#174189 #89177A #895F17 #178926
split-complementary
#174189 #892617 #7A8917
monochromatic
#050F20 #0E2855 #174189 #205ABD #3C78DE

Accessibility & contrast

On white

9.75
#174189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#174189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174189
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174189#FFFFFF#000000##FFFFFF
##1741891.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498C
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174189;
/* rgb */ color: rgb(23, 65, 137);
/* oklch */ color: oklch(39.1% 0.129 260.5);
Tailwind
colors: {
  custom: {
    50: '#6975ac',
    500: '#174189',
    950: '#000000',
  },
}
SCSS
$custom: #174189;
$custom-light: #6975ac;
$custom-dark: #000000;
JSON
{
  "hex": "#174189",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 217.895,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.12919,
    "h": 260.5
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#174189
secondary
#BD8E3F
accent
#AC3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174189

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

Preview Lab → · Contrast checker → · Palette generator →

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