#174989#174989

#174989 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 41.0% C 0.119 H 256.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#174989
RGBrgb(23, 73, 137)
HSLhsl(214, 71%, 31%)
HSVhsv(214, 83%, 54%)
CMYKcmyk(83.2%, 46.7%, 0%, 46.3%)
CIE-LABlab(31.24, 8.44, -40.34)
CIE-LCHlch(31.24, 41.21, 281.81°)
OKLaboklab(40.96% -0.0278 -0.1158)
OKLCHoklch(40.96% 0.119 256.5)
XYZxyz(7.2496, 6.7525, 24.5833)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174989 #895717
analogous
#178289 #174989 #1E1789
triadic
#174989 #891749 #498917
tetradic
#174989 #891782 #895717 #17891E
square
#174989 #891782 #895717 #17891E
split-complementary
#174989 #891E17 #828917
monochromatic
#051120 #0E2D55 #174989 #2065BD #3C83DE

Accessibility & contrast

On white

8.93
#174989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#174989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174989
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174989#FFFFFF#000000##FFFFFF
##1749891.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#0B4588
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #174989;
/* rgb */ color: rgb(23, 73, 137);
/* oklch */ color: oklch(41.0% 0.119 256.5);
Tailwind
colors: {
  custom: {
    50: '#687bac',
    500: '#174989',
    950: '#000000',
  },
}
SCSS
$custom: #174989;
$custom-light: #687bac;
$custom-dark: #000000;
JSON
{
  "hex": "#174989",
  "rgb": {
    "r": 23,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 213.684,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40957,
    "c": 0.11908,
    "h": 256.5
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#174989
secondary
#BD863F
accent
#9F3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174989

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

Preview Lab → · Contrast checker → · Palette generator →

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