#181049#181049

#181049 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.9% C 0.100 H 281.4°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#181049
RGBrgb(24, 16, 73)
HSLhsl(248, 64%, 17%)
HSVhsv(248, 78%, 29%)
CMYKcmyk(67.1%, 78.1%, 0%, 71.4%)
CIE-LABlab(9.37, 23.05, -34.07)
CIE-LCHlch(9.37, 41.13, 304.08°)
OKLaboklab(22.86% 0.0197 -0.0982)
OKLCHoklch(22.86% 0.1 281.4)
XYZxyz(1.7642, 1.0457, 6.4109)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181049 #414910
analogous
#102549 #181049 #351049
triadic
#181049 #491810 #104918
tetradic
#181049 #491025 #414910 #104935
square
#181049 #491025 #414910 #104935
split-complementary
#181049 #493510 #254910
monochromatic
#080619 #080619 #181049 #291B7B #3926AD

Accessibility & contrast

On white

17.37
#181049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#181049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181049
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181049#FFFFFF#000000##FFFFFF
##1810491.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001848
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #181049;
/* rgb */ color: rgb(24, 16, 73);
/* oklch */ color: oklch(22.9% 0.100 281.4);
Tailwind
colors: {
  custom: {
    50: '#5c4f7c',
    500: '#181049',
    950: '#000000',
  },
}
SCSS
$custom: #181049;
$custom-light: #5c4f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#181049",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 248.421,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22862,
    "c": 0.10016,
    "h": 281.4
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#181049
secondary
#788332
accent
#E741D0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #181049

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

Preview Lab → · Contrast checker → · Palette generator →

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