#184794#184794

#184794 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.137 H 260.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#184794
RGBrgb(24, 71, 148)
HSLhsl(217, 72%, 34%)
HSVhsv(217, 84%, 58%)
CMYKcmyk(83.8%, 52%, 0%, 42%)
CIE-LABlab(31.43, 14.42, -46.76)
CIE-LCHlch(31.43, 48.94, 287.14°)
OKLaboklab(41.36% -0.0238 -0.1347)
OKLCHoklch(41.36% 0.137 260)
XYZxyz(7.9733, 6.8378, 28.9108)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184794 #946518
analogous
#188594 #184794 #271894
triadic
#184794 #941847 #479418
tetradic
#184794 #941885 #946518 #189427
square
#184794 #941885 #946518 #189427
split-complementary
#184794 #942718 #859418
monochromatic
#07142B #0F2E5F #184794 #2160C9 #4580E1

Accessibility & contrast

On white

8.87
#184794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#184794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184794
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184794#FFFFFF#000000##FFFFFF
##1847941.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145097
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #184794;
/* rgb */ color: rgb(24, 71, 148);
/* oklch */ color: oklch(41.4% 0.137 260.0);
Tailwind
colors: {
  custom: {
    50: '#6b79b4',
    500: '#184794',
    950: '#000000',
  },
}
SCSS
$custom: #184794;
$custom-light: #6b79b4;
$custom-dark: #000000;
JSON
{
  "hex": "#184794",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 148
  },
  "hsl": {
    "h": 217.258,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41364,
    "c": 0.1368,
    "h": 260
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#184794
secondary
#C29346
accent
#AA39EF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #184794

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

Preview Lab → · Contrast checker → · Palette generator →

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