#181141#181141

#181141 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.087 H 283.4°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#181141
RGBrgb(24, 17, 65)
HSLhsl(249, 59%, 16%)
HSVhsv(249, 74%, 25%)
CMYKcmyk(63.1%, 73.8%, 0%, 74.5%)
CIE-LABlab(8.79, 19.40, -29.38)
CIE-LCHlch(8.79, 35.21, 303.44°)
OKLaboklab(22.2% 0.0201 -0.0844)
OKLCHoklch(22.2% 0.087 283.4)
XYZxyz(1.5310, 0.9766, 5.1078)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181141 #3A4111
analogous
#112241 #181141 #301141
triadic
#181141 #411811 #114118
tetradic
#181141 #411122 #3A4111 #114130
square
#181141 #411122 #3A4111 #114130
split-complementary
#181141 #413011 #224111
monochromatic
#090618 #090618 #181141 #2A1E72 #3C2AA2

Accessibility & contrast

On white

17.57
#181141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#181141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181141
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181141#FFFFFF#000000##FFFFFF
##1811411.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181141;
/* rgb */ color: rgb(24, 17, 65);
/* oklch */ color: oklch(22.2% 0.087 283.4);
Tailwind
colors: {
  custom: {
    50: '#5a4f76',
    500: '#181141',
    950: '#000000',
  },
}
SCSS
$custom: #181141;
$custom-light: #5a4f76;
$custom-dark: #000000;
JSON
{
  "hex": "#181141",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 248.75,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22198,
    "c": 0.0868,
    "h": 283.4
  },
  "luminance": 0.00977
}

Semantic roles & 50–950 ramp

primary
#181141
secondary
#707B33
accent
#E246CB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #181141

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

Preview Lab → · Contrast checker → · Palette generator →

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