#181154#181154

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

Color values

HEX#181154
RGBrgb(24, 17, 84)
HSLhsl(246, 66%, 20%)
HSVhsv(246, 80%, 33%)
CMYKcmyk(71.4%, 79.8%, 0%, 67.1%)
CIE-LABlab(10.81, 26.42, -39.28)
CIE-LCHlch(10.81, 47.34, 303.93°)
OKLaboklab(24.26% 0.0164 -0.1134)
OKLCHoklch(24.26% 0.115 278.2)
XYZxyz(2.1769, 1.2350, 8.5094)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181154 #4D5411
analogous
#112B54 #181154 #3A1154
triadic
#181154 #541811 #115418
tetradic
#181154 #54112B #4D5411 #11543A
square
#181154 #54112B #4D5411 #11543A
split-complementary
#181154 #543A11 #2B5411
monochromatic
#070519 #090721 #181154 #271B87 #3526BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##181154#FFFFFF#000000##FFFFFF
##1811541.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)
#002056
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181154;
/* rgb */ color: rgb(24, 17, 84);
/* oklch */ color: oklch(24.3% 0.115 278.2);
Tailwind
colors: {
  custom: {
    50: '#5f5085',
    500: '#181154',
    950: '#000000',
  },
}
SCSS
$custom: #181154;
$custom-light: #5f5085;
$custom-dark: #000000;
JSON
{
  "hex": "#181154",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 246.269,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24259,
    "c": 0.11461,
    "h": 278.2
  },
  "luminance": 0.01235
}

Semantic roles & 50–950 ramp

primary
#181154
secondary
#848D34
accent
#E93FD7
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181154

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

Preview Lab → · Contrast checker → · Palette generator →

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