#174188#174188

#174188 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.128 H 260.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#174188
RGBrgb(23, 65, 136)
HSLhsl(218, 71%, 31%)
HSVhsv(218, 83%, 53%)
CMYKcmyk(83.1%, 52.2%, 0%, 46.7%)
CIE-LABlab(28.75, 13.53, -43.74)
CIE-LCHlch(28.75, 45.78, 287.19°)
OKLaboklab(39.02% -0.0215 -0.126)
OKLCHoklch(39.02% 0.128 260.3)
XYZxyz(6.6860, 5.7395, 24.0432)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174188 #885E17
analogous
#177988 #174188 #251788
triadic
#174188 #881741 #418817
tetradic
#174188 #881779 #885E17 #178825
square
#174188 #881779 #885E17 #178825
split-complementary
#174188 #882517 #798817
monochromatic
#050F1F #0E2854 #174188 #205ABC #3B78DE

Accessibility & contrast

On white

9.78
#174188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174188
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174188#FFFFFF#000000##FFFFFF
##1741881.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174188;
/* rgb */ color: rgb(23, 65, 136);
/* oklch */ color: oklch(39.0% 0.128 260.3);
Tailwind
colors: {
  custom: {
    50: '#6875ab',
    500: '#174188',
    950: '#000000',
  },
}
SCSS
$custom: #174188;
$custom-light: #6875ab;
$custom-dark: #000000;
JSON
{
  "hex": "#174188",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 136
  },
  "hsl": {
    "h": 217.699,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39019,
    "c": 0.12778,
    "h": 260.3
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#174188
secondary
#BC8D3F
accent
#AB3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #174188

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

Preview Lab → · Contrast checker → · Palette generator →

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