#184E9D#184E9D

#184E9D is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.141 H 258.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#184E9D
RGBrgb(24, 78, 157)
HSLhsl(216, 73%, 35%)
HSVhsv(216, 85%, 62%)
CMYKcmyk(84.7%, 50.3%, 0%, 38.4%)
CIE-LABlab(34.14, 13.32, -47.85)
CIE-LCHlch(34.14, 49.67, 285.56°)
OKLaboklab(43.64% -0.0277 -0.1377)
OKLCHoklch(43.64% 0.141 258.6)
XYZxyz(9.1846, 8.0761, 32.9665)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184E9D #9D6718
analogous
#18909D #184E9D #24189D
triadic
#184E9D #9D184E #4E9D18
tetradic
#184E9D #9D1890 #9D6718 #189D24
square
#184E9D #9D1890 #9D6718 #189D24
split-complementary
#184E9D #9D2418 #909D18
monochromatic
#081933 #103468 #184E9D #2068D2 #4C89E4

Accessibility & contrast

On white

8.03
#184E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#184E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184E9D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184E9D#FFFFFF#000000##FFFFFF
##184E9D1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D57A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #184e9d;
/* rgb */ color: rgb(24, 78, 157);
/* oklch */ color: oklch(43.6% 0.141 258.6);
Tailwind
colors: {
  custom: {
    50: '#6d7eba',
    500: '#184e9d',
    950: '#000000',
  },
}
SCSS
$custom: #184e9d;
$custom-light: #6d7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#184e9d",
  "rgb": {
    "r": 24,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 215.639,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43643,
    "c": 0.14051,
    "h": 258.6
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#184E9D
secondary
#C5944B
accent
#A538F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #184E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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