#184A99#184A99

#184A99 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.140 H 259.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#184A99
RGBrgb(24, 74, 153)
HSLhsl(217, 73%, 35%)
HSVhsv(217, 84%, 60%)
CMYKcmyk(84.3%, 51.6%, 0%, 40%)
CIE-LABlab(32.68, 14.41, -47.79)
CIE-LCHlch(32.68, 49.91, 286.78°)
OKLaboklab(42.43% -0.0253 -0.1377)
OKLCHoklch(42.43% 0.14 259.6)
XYZxyz(8.5731, 7.3906, 31.1055)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184A99 #996718
analogous
#188B99 #184A99 #261899
triadic
#184A99 #99184A #4A9918
tetradic
#184A99 #99188B #996718 #189926
square
#184A99 #99188B #996718 #189926
split-complementary
#184A99 #992618 #8B9918
monochromatic
#07172F #103064 #184A99 #2064CE #4984E2

Accessibility & contrast

On white

8.47
#184A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#184A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184A99
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184A99#FFFFFF#000000##FFFFFF
##184A991.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #184a99;
/* rgb */ color: rgb(24, 74, 153);
/* oklch */ color: oklch(42.4% 0.140 259.6);
Tailwind
colors: {
  custom: {
    50: '#6d7bb8',
    500: '#184a99',
    950: '#000000',
  },
}
SCSS
$custom: #184a99;
$custom-light: #6d7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#184a99",
  "rgb": {
    "r": 24,
    "g": 74,
    "b": 153
  },
  "hsl": {
    "h": 216.744,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42432,
    "c": 0.13998,
    "h": 259.6
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#184A99
secondary
#C49449
accent
#A938F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #184A99

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

Preview Lab → · Contrast checker → · Palette generator →

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