#181355#181355

#181355 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.7% C 0.114 H 277.4°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#181355
RGBrgb(24, 19, 85)
HSLhsl(245, 63%, 20%)
HSVhsv(245, 78%, 33%)
CMYKcmyk(71.8%, 77.6%, 0%, 66.7%)
CIE-LABlab(11.38, 25.50, -39.02)
CIE-LCHlch(11.38, 46.62, 303.17°)
OKLaboklab(24.7% 0.0147 -0.1127)
OKLCHoklch(24.7% 0.114 277.4)
XYZxyz(2.2487, 1.3156, 8.7280)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181355 #505513
analogous
#132F55 #181355 #391355
triadic
#181355 #551813 #135518
tetradic
#181355 #55132F #505513 #135539
square
#181355 #55132F #505513 #135539
split-complementary
#181355 #553913 #2F5513
monochromatic
#070619 #0A0823 #181355 #261E87 #3429B9

Accessibility & contrast

On white

16.62
#181355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#181355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181355
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181355#FFFFFF#000000##FFFFFF
##1813551.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181355;
/* rgb */ color: rgb(24, 19, 85);
/* oklch */ color: oklch(24.7% 0.114 277.4);
Tailwind
colors: {
  custom: {
    50: '#5f5186',
    500: '#181355',
    950: '#000000',
  },
}
SCSS
$custom: #181355;
$custom-light: #5f5186;
$custom-dark: #000000;
JSON
{
  "hex": "#181355",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 244.545,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24699,
    "c": 0.11364,
    "h": 277.4
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#181355
secondary
#878D36
accent
#E641DA
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181355

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

Preview Lab → · Contrast checker → · Palette generator →

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