#181756#181756

#181756 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.110 H 275.9°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#181756
RGBrgb(24, 23, 86)
HSLhsl(241, 58%, 21%)
HSVhsv(241, 73%, 34%)
CMYKcmyk(72.1%, 73.3%, 0%, 66.3%)
CIE-LABlab(12.47, 23.19, -37.91)
CIE-LCHlch(12.47, 44.44, 301.45°)
OKLaboklab(25.51% 0.0114 -0.1094)
OKLCHoklch(25.51% 0.11 275.9)
XYZxyz(2.3622, 1.4787, 8.9632)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181756 #555617
analogous
#173656 #181756 #381756
triadic
#181756 #561817 #175618
tetradic
#181756 #561736 #555617 #175638
square
#181756 #561736 #555617 #175638
split-complementary
#181756 #563817 #365617
monochromatic
#070618 #0B0A26 #181756 #252486 #3331B7

Accessibility & contrast

On white

16.21
#181756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#181756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181756
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181756#FFFFFF#000000##FFFFFF
##1817561.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181756;
/* rgb */ color: rgb(24, 23, 86);
/* oklch */ color: oklch(25.5% 0.110 275.9);
Tailwind
colors: {
  custom: {
    50: '#5f5486',
    500: '#181756',
    950: '#000000',
  },
}
SCSS
$custom: #181756;
$custom-light: #5f5486;
$custom-dark: #000000;
JSON
{
  "hex": "#181756",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 240.952,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25513,
    "c": 0.11004,
    "h": 275.9
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#181756
secondary
#8C8D3C
accent
#E147DF
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181756

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

Preview Lab → · Contrast checker → · Palette generator →

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