#181056#181056

#181056 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.3% C 0.119 H 278.0°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#181056
RGBrgb(24, 16, 86)
HSLhsl(247, 69%, 20%)
HSVhsv(247, 81%, 34%)
CMYKcmyk(72.1%, 81.4%, 0%, 66.3%)
CIE-LABlab(10.82, 27.76, -40.62)
CIE-LCHlch(10.82, 49.20, 304.34°)
OKLaboklab(24.34% 0.0166 -0.1173)
OKLCHoklch(24.34% 0.119 278)
XYZxyz(2.2412, 1.2365, 8.9229)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181056 #4E5610
analogous
#102B56 #181056 #3B1056
triadic
#181056 #561810 #105618
tetradic
#181056 #56102B #4E5610 #10563B
square
#181056 #56102B #4E5610 #10563B
split-complementary
#181056 #563B10 #2B5610
monochromatic
#07051A #0A0622 #181056 #261A8A #3523BD

Accessibility & contrast

On white

16.84
#181056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181056
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181056#FFFFFF#000000##FFFFFF
##1810561.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181056;
/* rgb */ color: rgb(24, 16, 86);
/* oklch */ color: oklch(24.3% 0.119 278.0);
Tailwind
colors: {
  custom: {
    50: '#5f4f86',
    500: '#181056',
    950: '#000000',
  },
}
SCSS
$custom: #181056;
$custom-light: #5f4f86;
$custom-dark: #000000;
JSON
{
  "hex": "#181056",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 246.857,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.24336,
    "c": 0.11851,
    "h": 278
  },
  "luminance": 0.01237
}

Semantic roles & 50–950 ramp

primary
#181056
secondary
#858F32
accent
#EB3CD7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #181056

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

Preview Lab → · Contrast checker → · Palette generator →

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