#181155#181155

#181155 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.116 H 278.0°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#181155
RGBrgb(24, 17, 85)
HSLhsl(246, 67%, 20%)
HSVhsv(246, 80%, 33%)
CMYKcmyk(71.8%, 80%, 0%, 66.7%)
CIE-LABlab(10.93, 26.78, -39.77)
CIE-LCHlch(10.93, 47.95, 303.95°)
OKLaboklab(24.37% 0.0162 -0.1149)
OKLCHoklch(24.37% 0.116 278)
XYZxyz(2.2163, 1.2508, 8.7172)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181155 #4E5511
analogous
#112C55 #181155 #3A1155
triadic
#181155 #551811 #115518
tetradic
#181155 #55112C #4E5511 #11553A
square
#181155 #55112C #4E5511 #11553A
split-complementary
#181155 #553A11 #2C5511
monochromatic
#07051A #0A0722 #181155 #261B88 #3525BB

Accessibility & contrast

On white

16.80
#181155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181155
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181155#FFFFFF#000000##FFFFFF
##1811551.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181155;
/* rgb */ color: rgb(24, 17, 85);
/* oklch */ color: oklch(24.4% 0.116 278.0);
Tailwind
colors: {
  custom: {
    50: '#5f5086',
    500: '#181155',
    950: '#000000',
  },
}
SCSS
$custom: #181155;
$custom-light: #5f5086;
$custom-dark: #000000;
JSON
{
  "hex": "#181155",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 246.176,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.24374,
    "c": 0.116,
    "h": 278
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#181155
secondary
#858E34
accent
#EA3ED8
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181155

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

Preview Lab → · Contrast checker → · Palette generator →

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