#184788#184788

#184788 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.4% C 0.120 H 257.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#184788
RGBrgb(24, 71, 136)
HSLhsl(215, 70%, 31%)
HSVhsv(215, 82%, 53%)
CMYKcmyk(82.4%, 47.8%, 0%, 46.7%)
CIE-LABlab(30.59, 9.50, -40.77)
CIE-LCHlch(30.59, 41.86, 283.11°)
OKLaboklab(40.44% -0.0257 -0.1171)
OKLCHoklch(40.44% 0.12 257.6)
XYZxyz(7.0722, 6.4774, 24.1653)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184788 #885918
analogous
#187F88 #184788 #211888
triadic
#184788 #881847 #478818
tetradic
#184788 #88187F #885918 #188821
square
#184788 #88187F #885918 #188821
split-complementary
#184788 #882118 #7F8818
monochromatic
#061120 #0F2C54 #184788 #2162BC #3E80DD

Accessibility & contrast

On white

9.15
#184788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#184788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184788
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184788#FFFFFF#000000##FFFFFF
##1847881.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D8A
Deuteranopia (green-blind)
#054387
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #184788;
/* rgb */ color: rgb(24, 71, 136);
/* oklch */ color: oklch(40.4% 0.120 257.6);
Tailwind
colors: {
  custom: {
    50: '#6879ab',
    500: '#184788',
    950: '#000000',
  },
}
SCSS
$custom: #184788;
$custom-light: #6879ab;
$custom-dark: #000000;
JSON
{
  "hex": "#184788",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 214.821,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40441,
    "c": 0.11986,
    "h": 257.6
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#184788
secondary
#BC8840
accent
#A23BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #184788

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

Preview Lab → · Contrast checker → · Palette generator →

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