#185178#185178

#185178 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.087 H 243.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#185178
RGBrgb(24, 81, 120)
HSLhsl(204, 67%, 28%)
HSVhsv(204, 80%, 47%)
CMYKcmyk(80%, 32.5%, 0%, 52.9%)
CIE-LABlab(32.78, -3.61, -27.37)
CIE-LCHlch(32.78, 27.60, 262.48°)
OKLaboklab(41.84% -0.0392 -0.0776)
OKLCHoklch(41.84% 0.087 243.2)
XYZxyz(6.7080, 7.4343, 18.8471)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185178 #783F18
analogous
#18786F #185178 #182178
triadic
#185178 #781851 #517818
tetradic
#185178 #6F1878 #783F18 #217818
square
#185178 #6F1878 #783F18 #217818
split-complementary
#185178 #781821 #786F18
monochromatic
#05111A #0E2F45 #185178 #2273AB #3494D6

Accessibility & contrast

On white

8.44
#185178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#185178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185178
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185178#FFFFFF#000000##FFFFFF
##1851781.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#324977
Tritanopia (blue-blind)
#005B5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #185178;
/* rgb */ color: rgb(24, 81, 120);
/* oklch */ color: oklch(41.8% 0.087 243.2);
Tailwind
colors: {
  custom: {
    50: '#65819f',
    500: '#185178',
    950: '#000000',
  },
}
SCSS
$custom: #185178;
$custom-light: #65819f;
$custom-dark: #000000;
JSON
{
  "hex": "#185178",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 204.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41839,
    "c": 0.08693,
    "h": 243.2
  },
  "luminance": 0.07435
}

Semantic roles & 50–950 ramp

primary
#185178
secondary
#AD6C3F
accent
#843EEA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #185178

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

Preview Lab → · Contrast checker → · Palette generator →

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