#186171#186171

#186171 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.7% C 0.073 H 216.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#186171
RGBrgb(24, 97, 113)
HSLhsl(191, 65%, 27%)
HSVhsv(191, 79%, 44%)
CMYKcmyk(78.8%, 14.2%, 0%, 55.7%)
CIE-LABlab(37.73, -15.88, -15.35)
CIE-LCHlch(37.73, 22.08, 224.03°)
OKLaboklab(45.68% -0.0588 -0.0428)
OKLCHoklch(45.68% 0.073 216.1)
XYZxyz(7.6308, 9.9349, 17.1350)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186171 #712818
analogous
#187155 #186171 #183471
triadic
#186171 #711861 #617118
tetradic
#186171 #551871 #712818 #347118
square
#186171 #551871 #712818 #347118
split-complementary
#186171 #711834 #715518
monochromatic
#051619 #0D363F #186171 #238CA3 #30B6D3

Accessibility & contrast

On white

7.03
#186171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#186171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186171
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186171#FFFFFF#000000##FFFFFF
##1861711.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565E72
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#006766
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #186171;
/* rgb */ color: rgb(24, 97, 113);
/* oklch */ color: oklch(45.7% 0.073 216.1);
Tailwind
colors: {
  custom: {
    50: '#658e99',
    500: '#186171',
    950: '#000000',
  },
}
SCSS
$custom: #186171;
$custom-light: #658e99;
$custom-dark: #000000;
JSON
{
  "hex": "#186171",
  "rgb": {
    "r": 24,
    "g": 97,
    "b": 113
  },
  "hsl": {
    "h": 190.787,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45682,
    "c": 0.07274,
    "h": 216.1
  },
  "luminance": 0.09936
}

Semantic roles & 50–950 ramp

primary
#186171
secondary
#A6513E
accent
#5E40E8
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#060C0E
muted
#7A7D7E

Preview Lab

Preview with #186171

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

Preview Lab → · Contrast checker → · Palette generator →

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