#184D9D#184D9D

#184D9D is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.142 H 259.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#184D9D
RGBrgb(24, 77, 157)
HSLhsl(216, 73%, 35%)
HSVhsv(216, 85%, 62%)
CMYKcmyk(84.7%, 51%, 0%, 38.4%)
CIE-LABlab(33.85, 14.00, -48.32)
CIE-LCHlch(33.85, 50.31, 286.15°)
OKLaboklab(43.42% -0.0269 -0.1392)
OKLCHoklch(43.42% 0.142 259)
XYZxyz(9.1141, 7.9351, 32.9430)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184D9D #9D6818
analogous
#188F9D #184D9D #25189D
triadic
#184D9D #9D184D #4D9D18
tetradic
#184D9D #9D188F #9D6818 #189D25
square
#184D9D #9D188F #9D6818 #189D25
split-complementary
#184D9D #9D2518 #8F9D18
monochromatic
#081933 #103368 #184D9D #2067D2 #4C88E4

Accessibility & contrast

On white

8.12
#184D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#184D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184D9D
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184D9D#FFFFFF#000000##FFFFFF
##184D9D1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #184d9d;
/* rgb */ color: rgb(24, 77, 157);
/* oklch */ color: oklch(43.4% 0.142 259.0);
Tailwind
colors: {
  custom: {
    50: '#6d7eba',
    500: '#184d9d',
    950: '#000000',
  },
}
SCSS
$custom: #184d9d;
$custom-light: #6d7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#184d9d",
  "rgb": {
    "r": 24,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 216.09,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.14176,
    "h": 259
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#184D9D
secondary
#C5954B
accent
#A738F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #184D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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