#174789#174789

#174789 is a dark, vivid cyan. Relative luminance 0.065; OKLCH L 40.5% C 0.122 H 257.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#174789
RGBrgb(23, 71, 137)
HSLhsl(215, 71%, 31%)
HSVhsv(215, 83%, 54%)
CMYKcmyk(83.2%, 48.2%, 0%, 46.3%)
CIE-LABlab(30.63, 9.80, -41.32)
CIE-LCHlch(30.63, 42.47, 283.35°)
OKLaboklab(40.49% -0.0261 -0.1187)
OKLCHoklch(40.49% 0.122 257.6)
XYZxyz(7.1203, 6.4939, 24.5402)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174789 #895917
analogous
#178089 #174789 #201789
triadic
#174789 #891747 #478917
tetradic
#174789 #891780 #895917 #178920
square
#174789 #891780 #895917 #178920
split-complementary
#174789 #892017 #808917
monochromatic
#051120 #0E2C55 #174789 #2062BD #3C80DE

Accessibility & contrast

On white

9.13
#174789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#174789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174789
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174789#FFFFFF#000000##FFFFFF
##1747891.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8B
Deuteranopia (green-blind)
#014388
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #174789;
/* rgb */ color: rgb(23, 71, 137);
/* oklch */ color: oklch(40.5% 0.122 257.6);
Tailwind
colors: {
  custom: {
    50: '#6879ac',
    500: '#174789',
    950: '#000000',
  },
}
SCSS
$custom: #174789;
$custom-light: #6879ac;
$custom-dark: #000000;
JSON
{
  "hex": "#174789",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 214.737,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.12156,
    "h": 257.6
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#174789
secondary
#BD883F
accent
#A23AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174789

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

Preview Lab → · Contrast checker → · Palette generator →

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