#184987#184987

#184987 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.8% C 0.116 H 256.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#184987
RGBrgb(24, 73, 135)
HSLhsl(214, 70%, 31%)
HSVhsv(214, 82%, 53%)
CMYKcmyk(82.2%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.13, 7.73, -39.27)
CIE-LCHlch(31.13, 40.03, 281.13°)
OKLaboklab(40.84% -0.0276 -0.1126)
OKLCHoklch(40.84% 0.116 256.2)
XYZxyz(7.1308, 6.7077, 23.8359)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184987 #875618
analogous
#188087 #184987 #1F1887
triadic
#184987 #871849 #498718
tetradic
#184987 #871880 #875618 #18871F
square
#184987 #871880 #875618 #18871F
split-complementary
#184987 #871F18 #808718
monochromatic
#06111F #0F2D53 #184987 #2165BB #3D83DC

Accessibility & contrast

On white

8.97
#184987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#184987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184987
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184987#FFFFFF#000000##FFFFFF
##1849871.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#114586
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #184987;
/* rgb */ color: rgb(24, 73, 135);
/* oklch */ color: oklch(40.8% 0.116 256.2);
Tailwind
colors: {
  custom: {
    50: '#687baa',
    500: '#184987',
    950: '#000000',
  },
}
SCSS
$custom: #184987;
$custom-light: #687baa;
$custom-dark: #000000;
JSON
{
  "hex": "#184987",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 213.514,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40841,
    "c": 0.11597,
    "h": 256.2
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#184987
secondary
#BB8540
accent
#9E3BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #184987

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

Preview Lab → · Contrast checker → · Palette generator →

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