#181156#181156

#181156 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.117 H 277.8°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#181156
RGBrgb(24, 17, 86)
HSLhsl(246, 67%, 20%)
HSVhsv(246, 80%, 34%)
CMYKcmyk(72.1%, 80.2%, 0%, 66.3%)
CIE-LABlab(11.04, 27.14, -40.27)
CIE-LCHlch(11.04, 48.56, 303.98°)
OKLaboklab(24.49% 0.0159 -0.1163)
OKLCHoklch(24.49% 0.117 277.8)
XYZxyz(2.2563, 1.2668, 8.9279)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181156 #4F5611
analogous
#112C56 #181156 #3A1156
triadic
#181156 #561811 #115618
tetradic
#181156 #56112C #4F5611 #11563A
square
#181156 #56112C #4F5611 #11563A
split-complementary
#181156 #563A11 #2C5611
monochromatic
#07051A #0A0723 #181156 #261B89 #3525BC

Accessibility & contrast

On white

16.75
#181156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#181156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181156
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181156#FFFFFF#000000##FFFFFF
##1811561.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181156;
/* rgb */ color: rgb(24, 17, 86);
/* oklch */ color: oklch(24.5% 0.117 277.8);
Tailwind
colors: {
  custom: {
    50: '#5f5086',
    500: '#181156',
    950: '#000000',
  },
}
SCSS
$custom: #181156;
$custom-light: #5f5086;
$custom-dark: #000000;
JSON
{
  "hex": "#181156",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 246.087,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24489,
    "c": 0.11738,
    "h": 277.8
  },
  "luminance": 0.01267
}

Semantic roles & 50–950 ramp

primary
#181156
secondary
#868F34
accent
#EA3ED8
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181156

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

Preview Lab → · Contrast checker → · Palette generator →

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