#185871#185871

#185871 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.3% C 0.075 H 228.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#185871
RGBrgb(24, 88, 113)
HSLhsl(197, 65%, 27%)
HSVhsv(197, 79%, 44%)
CMYKcmyk(78.8%, 22.1%, 0%, 55.7%)
CIE-LABlab(34.73, -10.64, -19.96)
CIE-LCHlch(34.73, 22.62, 241.94°)
OKLaboklab(43.28% -0.0491 -0.056)
OKLCHoklch(43.28% 0.075 228.8)
XYZxyz(6.8458, 8.3651, 16.8734)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185871 #713118
analogous
#18715E #185871 #182C71
triadic
#185871 #711858 #587118
tetradic
#185871 #5E1871 #713118 #2C7118
square
#185871 #5E1871 #713118 #2C7118
split-complementary
#185871 #71182C #715E18
monochromatic
#051419 #0D313F #185871 #237FA3 #30A5D3

Accessibility & contrast

On white

7.86
#185871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#185871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185871
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185871#FFFFFF#000000##FFFFFF
##1858711.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5672
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#005F60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #185871;
/* rgb */ color: rgb(24, 88, 113);
/* oklch */ color: oklch(43.3% 0.075 228.8);
Tailwind
colors: {
  custom: {
    50: '#64879a',
    500: '#185871',
    950: '#000000',
  },
}
SCSS
$custom: #185871;
$custom-light: #64879a;
$custom-dark: #000000;
JSON
{
  "hex": "#185871",
  "rgb": {
    "r": 24,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 196.854,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.43281,
    "c": 0.07452,
    "h": 228.8
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#185871
secondary
#A65C3E
accent
#6F40E8
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #185871

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

Preview Lab → · Contrast checker → · Palette generator →

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