#181655#181655

#181655 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.2% C 0.110 H 276.5°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#181655
RGBrgb(24, 22, 85)
HSLhsl(242, 59%, 21%)
HSVhsv(242, 74%, 33%)
CMYKcmyk(71.8%, 74.1%, 0%, 66.7%)
CIE-LABlab(12.11, 23.50, -37.82)
CIE-LCHlch(12.11, 44.53, 301.85°)
OKLaboklab(25.22% 0.0124 -0.1092)
OKLCHoklch(25.22% 0.11 276.5)
XYZxyz(2.3028, 1.4237, 8.7460)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181655 #535516
analogous
#163355 #181655 #371655
triadic
#181655 #551816 #165518
tetradic
#181655 #551633 #535516 #165537
square
#181655 #551633 #535516 #165537
split-complementary
#181655 #553716 #335516
monochromatic
#070618 #0A0924 #181655 #262386 #332FB6

Accessibility & contrast

On white

16.34
#181655 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#181655 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181655
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181655#FFFFFF#000000##FFFFFF
##1816551.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181655;
/* rgb */ color: rgb(24, 22, 85);
/* oklch */ color: oklch(25.2% 0.110 276.5);
Tailwind
colors: {
  custom: {
    50: '#5f5386',
    500: '#181655',
    950: '#000000',
  },
}
SCSS
$custom: #181655;
$custom-light: #5f5386;
$custom-dark: #000000;
JSON
{
  "hex": "#181655",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 85
  },
  "hsl": {
    "h": 241.905,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25223,
    "c": 0.10988,
    "h": 276.5
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#181655
secondary
#8A8C3A
accent
#E246DD
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181655

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

Preview Lab → · Contrast checker → · Palette generator →

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