#181054#181054

#181054 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.116 H 278.5°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#181054
RGBrgb(24, 16, 84)
HSLhsl(247, 68%, 20%)
HSVhsv(247, 81%, 33%)
CMYKcmyk(71.4%, 81%, 0%, 67.1%)
CIE-LABlab(10.59, 27.04, -39.64)
CIE-LCHlch(10.59, 47.99, 304.30°)
OKLaboklab(24.1% 0.0171 -0.1145)
OKLCHoklch(24.1% 0.116 278.5)
XYZxyz(2.1617, 1.2047, 8.5044)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181054 #4C5410
analogous
#102A54 #181054 #3A1054
triadic
#181054 #541810 #105418
tetradic
#181054 #54102A #4C5410 #10543A
square
#181054 #54102A #4C5410 #10543A
split-complementary
#181054 #543A10 #2A5410
monochromatic
#07051A #090621 #181054 #271A87 #3524BB

Accessibility & contrast

On white

16.92
#181054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#181054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181054
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181054#FFFFFF#000000##FFFFFF
##1810541.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181054;
/* rgb */ color: rgb(24, 16, 84);
/* oklch */ color: oklch(24.1% 0.116 278.5);
Tailwind
colors: {
  custom: {
    50: '#5f4f85',
    500: '#181054',
    950: '#000000',
  },
}
SCSS
$custom: #181054;
$custom-light: #5f4f85;
$custom-dark: #000000;
JSON
{
  "hex": "#181054",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 247.059,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24103,
    "c": 0.11575,
    "h": 278.5
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#181054
secondary
#838E32
accent
#EB3DD6
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181054

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

Preview Lab → · Contrast checker → · Palette generator →

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