#181041#181041

#181041 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.088 H 283.9°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#181041
RGBrgb(24, 16, 65)
HSLhsl(250, 60%, 16%)
HSVhsv(250, 75%, 25%)
CMYKcmyk(63.1%, 75.4%, 0%, 74.5%)
CIE-LABlab(8.54, 20.10, -29.80)
CIE-LCHlch(8.54, 35.95, 303.99°)
OKLaboklab(22.01% 0.0212 -0.0857)
OKLCHoklch(22.01% 0.088 283.9)
XYZxyz(1.5158, 0.9463, 5.1028)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181041 #394110
analogous
#102041 #181041 #301041
triadic
#181041 #411810 #104118
tetradic
#181041 #411020 #394110 #104130
square
#181041 #411020 #394110 #104130
split-complementary
#181041 #413010 #204110
monochromatic
#090619 #090619 #181041 #2A1C72 #3C28A3

Accessibility & contrast

On white

17.66
#181041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#181041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181041
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181041#FFFFFF#000000##FFFFFF
##1810411.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#051C26
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #181041;
/* rgb */ color: rgb(24, 16, 65);
/* oklch */ color: oklch(22.0% 0.088 283.9);
Tailwind
colors: {
  custom: {
    50: '#5a4e76',
    500: '#181041',
    950: '#000000',
  },
}
SCSS
$custom: #181041;
$custom-light: #5a4e76;
$custom-dark: #000000;
JSON
{
  "hex": "#181041",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 249.796,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2201,
    "c": 0.08827,
    "h": 283.9
  },
  "luminance": 0.00946
}

Semantic roles & 50–950 ramp

primary
#181041
secondary
#6F7B32
accent
#E444CA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #181041

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

Preview Lab → · Contrast checker → · Palette generator →

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