#181159#181159

#181159 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.122 H 277.2°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#181159
RGBrgb(24, 17, 89)
HSLhsl(246, 68%, 21%)
HSVhsv(246, 81%, 35%)
CMYKcmyk(73%, 80.9%, 0%, 65.1%)
CIE-LABlab(11.39, 28.22, -41.73)
CIE-LCHlch(11.39, 50.38, 304.07°)
OKLaboklab(24.84% 0.0152 -0.1206)
OKLCHoklch(24.84% 0.122 277.2)
XYZxyz(2.3797, 1.3161, 9.5779)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181159 #525911
analogous
#112E59 #181159 #3C1159
triadic
#181159 #591811 #115918
tetradic
#181159 #59112E #525911 #11593C
square
#181159 #59112E #525911 #11593C
split-complementary
#181159 #593C11 #2E5911
monochromatic
#07051A #0A0726 #181159 #261B8C #3425C0

Accessibility & contrast

On white

16.62
#181159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#181159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181159
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181159#FFFFFF#000000##FFFFFF
##1811591.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215B
Deuteranopia (green-blind)
#001B58
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181159;
/* rgb */ color: rgb(24, 17, 89);
/* oklch */ color: oklch(24.8% 0.122 277.2);
Tailwind
colors: {
  custom: {
    50: '#605089',
    500: '#181159',
    950: '#000000',
  },
}
SCSS
$custom: #181159;
$custom-light: #605089;
$custom-dark: #000000;
JSON
{
  "hex": "#181159",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 245.833,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24838,
    "c": 0.12151,
    "h": 277.2
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#181159
secondary
#899234
accent
#EB3DDA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #181159

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

Preview Lab → · Contrast checker → · Palette generator →

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