#174158#174158

#174158 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.7% C 0.061 H 236.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#174158
RGBrgb(23, 65, 88)
HSLhsl(201, 59%, 22%)
HSVhsv(201, 74%, 35%)
CMYKcmyk(73.9%, 26.1%, 0%, 65.5%)
CIE-LABlab(25.76, -6.04, -17.99)
CIE-LCHlch(25.76, 18.97, 251.45°)
OKLaboklab(35.73% -0.034 -0.0506)
OKLCHoklch(35.73% 0.061 236.1)
XYZxyz(4.0044, 4.6669, 9.9204)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174158 #582E17
analogous
#17584F #174158 #172158
triadic
#174158 #581741 #415817
tetradic
#174158 #4F1758 #582E17 #215817
square
#174158 #4F1758 #582E17 #215817
split-complementary
#174158 #581721 #584F17
monochromatic
#061218 #0A1D27 #174158 #246589 #3089B9

Accessibility & contrast

On white

10.86
#174158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#174158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174158
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174158#FFFFFF#000000##FFFFFF
##1741581.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364159
Deuteranopia (green-blind)
#2D3A58
Tritanopia (blue-blind)
#004749
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #174158;
/* rgb */ color: rgb(23, 65, 88);
/* oklch */ color: oklch(35.7% 0.061 236.1);
Tailwind
colors: {
  custom: {
    50: '#5d7587',
    500: '#174158',
    950: '#000000',
  },
}
SCSS
$custom: #174158;
$custom-light: #5d7587;
$custom-dark: #000000;
JSON
{
  "hex": "#174158",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 88
  },
  "hsl": {
    "h": 201.231,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35731,
    "c": 0.06092,
    "h": 236.1
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

primary
#174158
secondary
#8F593C
accent
#7D46E2
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#05080B
muted
#797B7C

Preview Lab

Preview with #174158

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

Preview Lab → · Contrast checker → · Palette generator →

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