#181549#181549

#181549 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.093 H 279.2°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#181549
RGBrgb(24, 21, 73)
HSLhsl(243, 55%, 18%)
HSVhsv(243, 71%, 29%)
CMYKcmyk(67.1%, 71.2%, 0%, 71.4%)
CIE-LABlab(10.64, 19.59, -31.98)
CIE-LCHlch(10.64, 37.51, 301.49°)
OKLaboklab(23.78% 0.0149 -0.0921)
OKLCHoklch(23.78% 0.093 279.2)
XYZxyz(1.8471, 1.2114, 6.4385)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181549 #464915
analogous
#152C49 #181549 #321549
triadic
#181549 #491815 #154918
tetradic
#181549 #49152C #464915 #154932
square
#181549 #49152C #464915 #154932
split-complementary
#181549 #493215 #2C4915
monochromatic
#080718 #080719 #181549 #282379 #3730A8

Accessibility & contrast

On white

16.90
#181549 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#181549 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181549
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181549#FFFFFF#000000##FFFFFF
##1815491.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#001B48
Tritanopia (blue-blind)
#00222C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181549;
/* rgb */ color: rgb(24, 21, 73);
/* oklch */ color: oklch(23.8% 0.093 279.2);
Tailwind
colors: {
  custom: {
    50: '#5c527c',
    500: '#181549',
    950: '#000000',
  },
}
SCSS
$custom: #181549;
$custom-light: #5c527c;
$custom-dark: #000000;
JSON
{
  "hex": "#181549",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 73
  },
  "hsl": {
    "h": 243.462,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23782,
    "c": 0.09327,
    "h": 279.2
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#181549
secondary
#7D8139
accent
#DF49D6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #181549

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

Preview Lab → · Contrast checker → · Palette generator →

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