#174689#174689

#174689 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.3% C 0.123 H 258.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#174689
RGBrgb(23, 70, 137)
HSLhsl(215, 71%, 31%)
HSVhsv(215, 83%, 54%)
CMYKcmyk(83.2%, 48.9%, 0%, 46.3%)
CIE-LABlab(30.32, 10.49, -41.81)
CIE-LCHlch(30.32, 43.11, 284.08°)
OKLaboklab(40.25% -0.0253 -0.1202)
OKLCHoklch(40.25% 0.123 258.1)
XYZxyz(7.0572, 6.3678, 24.5192)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174689 #895A17
analogous
#177F89 #174689 #211789
triadic
#174689 #891746 #468917
tetradic
#174689 #89177F #895A17 #178921
square
#174689 #89177F #895A17 #178921
split-complementary
#174689 #892117 #7F8917
monochromatic
#051020 #0E2B55 #174689 #2061BD #3C7FDE

Accessibility & contrast

On white

9.24
#174689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#174689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174689
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174689#FFFFFF#000000##FFFFFF
##1746891.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8B
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #174689;
/* rgb */ color: rgb(23, 70, 137);
/* oklch */ color: oklch(40.3% 0.123 258.1);
Tailwind
colors: {
  custom: {
    50: '#6878ac',
    500: '#174689',
    950: '#000000',
  },
}
SCSS
$custom: #174689;
$custom-light: #6878ac;
$custom-dark: #000000;
JSON
{
  "hex": "#174689",
  "rgb": {
    "r": 23,
    "g": 70,
    "b": 137
  },
  "hsl": {
    "h": 215.263,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40251,
    "c": 0.12281,
    "h": 258.1
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#174689
secondary
#BD893F
accent
#A43AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174689

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

Preview Lab → · Contrast checker → · Palette generator →

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