#184878#184878

#184878 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.6% C 0.096 H 251.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#184878
RGBrgb(24, 72, 120)
HSLhsl(210, 67%, 28%)
HSVhsv(210, 80%, 47%)
CMYKcmyk(80%, 40%, 0%, 52.9%)
CIE-LABlab(29.87, 2.27, -31.96)
CIE-LCHlch(29.87, 32.04, 274.07°)
OKLaboklab(39.56% -0.0303 -0.0912)
OKLCHoklch(39.56% 0.096 251.6)
XYZxyz(6.0829, 6.1843, 18.6387)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184878 #784818
analogous
#187878 #184878 #181878
triadic
#184878 #781848 #487818
tetradic
#184878 #781878 #784818 #187818
square
#184878 #781878 #784818 #187818
split-complementary
#184878 #781818 #787818
monochromatic
#050F1A #0E2945 #184878 #2267AB #3485D6

Accessibility & contrast

On white

9.39
#184878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#184878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184878
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184878#FFFFFF#000000##FFFFFF
##1848781.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7A
Deuteranopia (green-blind)
#224277
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #184878;
/* rgb */ color: rgb(24, 72, 120);
/* oklch */ color: oklch(39.6% 0.096 251.6);
Tailwind
colors: {
  custom: {
    50: '#647a9f',
    500: '#184878',
    950: '#000000',
  },
}
SCSS
$custom: #184878;
$custom-light: #647a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#184878",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 210,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39555,
    "c": 0.09605,
    "h": 251.6
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#184878
secondary
#AD763F
accent
#943EEA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #184878

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

Preview Lab → · Contrast checker → · Palette generator →

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