#185171#185171

#185171 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.4% C 0.078 H 238.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#185171
RGBrgb(24, 81, 113)
HSLhsl(202, 65%, 27%)
HSVhsv(202, 79%, 44%)
CMYKcmyk(78.8%, 28.3%, 0%, 55.7%)
CIE-LABlab(32.42, -6.35, -23.56)
CIE-LCHlch(32.42, 24.40, 254.92°)
OKLaboklab(41.43% -0.0416 -0.0665)
OKLCHoklch(41.43% 0.078 238)
XYZxyz(6.2986, 7.2706, 16.6910)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185171 #713818
analogous
#187165 #185171 #182571
triadic
#185171 #711851 #517118
tetradic
#185171 #651871 #713818 #257118
square
#185171 #651871 #713818 #257118
split-complementary
#185171 #711825 #716518
monochromatic
#051219 #0D2D3F #185171 #2375A3 #3099D3

Accessibility & contrast

On white

8.56
#185171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#185171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185171
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185171#FFFFFF#000000##FFFFFF
##1851711.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425172
Deuteranopia (green-blind)
#364970
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #185171;
/* rgb */ color: rgb(24, 81, 113);
/* oklch */ color: oklch(41.4% 0.078 238.0);
Tailwind
colors: {
  custom: {
    50: '#63819a',
    500: '#185171',
    950: '#000000',
  },
}
SCSS
$custom: #185171;
$custom-light: #63819a;
$custom-dark: #000000;
JSON
{
  "hex": "#185171",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 201.573,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.07849,
    "h": 238
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#185171
secondary
#A6643E
accent
#7C40E8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #185171

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

Preview Lab → · Contrast checker → · Palette generator →

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