#185478#185478

#185478 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.6% C 0.084 H 240.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#185478
RGBrgb(24, 84, 120)
HSLhsl(203, 67%, 28%)
HSVhsv(203, 80%, 47%)
CMYKcmyk(80%, 30%, 0%, 52.9%)
CIE-LABlab(33.75, -5.51, -25.83)
CIE-LCHlch(33.75, 26.41, 257.95°)
OKLaboklab(42.61% -0.0423 -0.0731)
OKLCHoklch(42.61% 0.084 240)
XYZxyz(6.9358, 7.8901, 18.9230)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185478 #783C18
analogous
#18786C #185478 #182478
triadic
#185478 #781854 #547818
tetradic
#185478 #6C1878 #783C18 #247818
square
#185478 #6C1878 #783C18 #247818
split-complementary
#185478 #781824 #786C18
monochromatic
#05121A #0E3045 #185478 #2278AB #3499D6

Accessibility & contrast

On white

8.15
#185478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#185478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185478
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185478#FFFFFF#000000##FFFFFF
##1854781.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43547A
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#005D61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185478;
/* rgb */ color: rgb(24, 84, 120);
/* oklch */ color: oklch(42.6% 0.084 240.0);
Tailwind
colors: {
  custom: {
    50: '#65849f',
    500: '#185478',
    950: '#000000',
  },
}
SCSS
$custom: #185478;
$custom-light: #65849f;
$custom-dark: #000000;
JSON
{
  "hex": "#185478",
  "rgb": {
    "r": 24,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 202.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.42612,
    "c": 0.08442,
    "h": 240
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#185478
secondary
#AD683F
accent
#7E3EEA
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #185478

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

Preview Lab → · Contrast checker → · Palette generator →

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