#184887#184887

#184887 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.117 H 256.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#184887
RGBrgb(24, 72, 135)
HSLhsl(214, 70%, 31%)
HSVhsv(214, 82%, 53%)
CMYKcmyk(82.2%, 46.7%, 0%, 47.1%)
CIE-LABlab(30.82, 8.41, -39.77)
CIE-LCHlch(30.82, 40.65, 281.93°)
OKLaboklab(40.6% -0.0267 -0.1141)
OKLCHoklch(40.6% 0.117 256.8)
XYZxyz(7.0656, 6.5773, 23.8141)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184887 #875718
analogous
#187F87 #184887 #1F1887
triadic
#184887 #871848 #488718
tetradic
#184887 #87187F #875718 #18871F
square
#184887 #87187F #875718 #18871F
split-complementary
#184887 #871F18 #7F8718
monochromatic
#06111F #0F2C53 #184887 #2164BB #3D82DC

Accessibility & contrast

On white

9.07
#184887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#184887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184887
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184887#FFFFFF#000000##FFFFFF
##1848871.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#0D4486
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #184887;
/* rgb */ color: rgb(24, 72, 135);
/* oklch */ color: oklch(40.6% 0.117 256.8);
Tailwind
colors: {
  custom: {
    50: '#687aaa',
    500: '#184887',
    950: '#000000',
  },
}
SCSS
$custom: #184887;
$custom-light: #687aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#184887",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 214.054,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.1172,
    "h": 256.8
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#184887
secondary
#BB8640
accent
#A03BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #184887

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

Preview Lab → · Contrast checker → · Palette generator →

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