#174271#174271

#174271 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.5% C 0.093 H 253.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#174271
RGBrgb(23, 66, 113)
HSLhsl(211, 66%, 27%)
HSVhsv(211, 80%, 44%)
CMYKcmyk(79.6%, 41.6%, 0%, 55.7%)
CIE-LABlab(27.49, 3.33, -31.34)
CIE-LCHlch(27.49, 31.51, 276.07°)
OKLaboklab(37.55% -0.0269 -0.0895)
OKLCHoklch(37.55% 0.093 253.3)
XYZxyz(5.2811, 5.2702, 16.3585)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174271 #714617
analogous
#176F71 #174271 #191771
triadic
#174271 #711742 #427117
tetradic
#174271 #71176F #714617 #177119
square
#174271 #71176F #714617 #177119
split-complementary
#174271 #711917 #6F7117
monochromatic
#050F19 #0D243E #174271 #2160A4 #2E7ED4

Accessibility & contrast

On white

10.22
#174271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#174271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174271
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174271#FFFFFF#000000##FFFFFF
##1742711.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4573
Deuteranopia (green-blind)
#1D3D70
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #174271;
/* rgb */ color: rgb(23, 66, 113);
/* oklch */ color: oklch(37.5% 0.093 253.3);
Tailwind
colors: {
  custom: {
    50: '#62759a',
    500: '#174271',
    950: '#000000',
  },
}
SCSS
$custom: #174271;
$custom-light: #62759a;
$custom-dark: #000000;
JSON
{
  "hex": "#174271",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 211.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37548,
    "c": 0.09342,
    "h": 253.3
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#174271
secondary
#A7743D
accent
#983FE9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #174271

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

Preview Lab → · Contrast checker → · Palette generator →

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