#186781#186781

#186781 is a mid, moderate cyan. Relative luminance 0.115; OKLCH L 48.0% C 0.083 H 225.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#186781
RGBrgb(24, 103, 129)
HSLhsl(195, 69%, 30%)
HSVhsv(195, 81%, 51%)
CMYKcmyk(81.4%, 20.2%, 0%, 49.4%)
CIE-LABlab(40.38, -13.53, -21.04)
CIE-LCHlch(40.38, 25.01, 237.26°)
OKLaboklab(48.03% -0.0583 -0.059)
OKLCHoklch(48.03% 0.083 225.3)
XYZxyz(9.1877, 11.4785, 22.4960)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186781 #813218
analogous
#188166 #186781 #183381
triadic
#186781 #811867 #678118
tetradic
#186781 #661881 #813218 #338118
square
#186781 #661881 #813218 #338118
split-complementary
#186781 #811833 #816618
monochromatic
#05151A #0E3E4D #186781 #2290B5 #39B2DA

Accessibility & contrast

On white

6.37
#186781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#186781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186781
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186781#FFFFFF#000000##FFFFFF
##1867811.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596582
Deuteranopia (green-blind)
#4B5B81
Tritanopia (blue-blind)
#006F70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #186781;
/* rgb */ color: rgb(24, 103, 129);
/* oklch */ color: oklch(48.0% 0.083 225.3);
Tailwind
colors: {
  custom: {
    50: '#6892a5',
    500: '#186781',
    950: '#000000',
  },
}
SCSS
$custom: #186781;
$custom-light: #6892a5;
$custom-dark: #000000;
JSON
{
  "hex": "#186781",
  "rgb": {
    "r": 24,
    "g": 103,
    "b": 129
  },
  "hsl": {
    "h": 194.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.48033,
    "c": 0.08301,
    "h": 225.3
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#186781
secondary
#B55D40
accent
#683CEB
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #186781

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

Preview Lab → · Contrast checker → · Palette generator →

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