#185781#185781

#185781 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.9% C 0.093 H 242.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#185781
RGBrgb(24, 87, 129)
HSLhsl(204, 69%, 30%)
HSVhsv(204, 81%, 51%)
CMYKcmyk(81.4%, 32.6%, 0%, 49.4%)
CIE-LABlab(35.19, -3.88, -29.12)
CIE-LCHlch(35.19, 29.38, 262.42°)
OKLaboklab(43.91% -0.0422 -0.0826)
OKLCHoklch(43.91% 0.093 242.9)
XYZxyz(7.7458, 8.5946, 22.0153)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185781 #814218
analogous
#188176 #185781 #182381
triadic
#185781 #811857 #578118
tetradic
#185781 #761881 #814218 #238118
square
#185781 #761881 #814218 #238118
split-complementary
#185781 #811823 #817618
monochromatic
#05111A #0E344D #185781 #227AB5 #399ADA

Accessibility & contrast

On white

7.72
#185781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#185781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185781
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185781#FFFFFF#000000##FFFFFF
##1857811.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#354E80
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #185781;
/* rgb */ color: rgb(24, 87, 129);
/* oklch */ color: oklch(43.9% 0.093 242.9);
Tailwind
colors: {
  custom: {
    50: '#6786a6',
    500: '#185781',
    950: '#000000',
  },
}
SCSS
$custom: #185781;
$custom-light: #6786a6;
$custom-dark: #000000;
JSON
{
  "hex": "#185781",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 129
  },
  "hsl": {
    "h": 204,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.43905,
    "c": 0.09279,
    "h": 242.9
  },
  "luminance": 0.08596
}

Semantic roles & 50–950 ramp

primary
#185781
secondary
#B56F40
accent
#823CEB
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #185781

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

Preview Lab → · Contrast checker → · Palette generator →

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