#184D87#184D87

#184D87 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.111 H 253.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#184D87
RGBrgb(24, 77, 135)
HSLhsl(211, 70%, 31%)
HSVhsv(211, 82%, 53%)
CMYKcmyk(82.2%, 43%, 0%, 47.1%)
CIE-LABlab(32.37, 5.03, -37.29)
CIE-LCHlch(32.37, 37.63, 277.68°)
OKLaboklab(41.8% -0.0311 -0.1067)
OKLCHoklch(41.8% 0.111 253.7)
XYZxyz(7.4021, 7.2503, 23.9263)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184D87 #875218
analogous
#188487 #184D87 #1A1887
triadic
#184D87 #87184D #4D8718
tetradic
#184D87 #871884 #875218 #18871A
square
#184D87 #871884 #875218 #18871A
split-complementary
#184D87 #871A18 #848718
monochromatic
#06121F #0F2F53 #184D87 #216BBB #3D89DC

Accessibility & contrast

On white

8.57
#184D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#184D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184D87
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184D87#FFFFFF#000000##FFFFFF
##184D871.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305289
Deuteranopia (green-blind)
#1D4886
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #184d87;
/* rgb */ color: rgb(24, 77, 135);
/* oklch */ color: oklch(41.8% 0.111 253.7);
Tailwind
colors: {
  custom: {
    50: '#687eaa',
    500: '#184d87',
    950: '#000000',
  },
}
SCSS
$custom: #184d87;
$custom-light: #687eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#184d87",
  "rgb": {
    "r": 24,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 211.351,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41803,
    "c": 0.11117,
    "h": 253.7
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#184D87
secondary
#BB8040
accent
#983BED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #184D87

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

Preview Lab → · Contrast checker → · Palette generator →

#184D87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva