#181C38#181C38

#181C38 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.9% C 0.054 H 275.4°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#181C38
RGBrgb(24, 28, 56)
HSLhsl(233, 40%, 16%)
HSVhsv(233, 57%, 22%)
CMYKcmyk(57.1%, 50%, 0%, 78%)
CIE-LABlab(11.35, 7.70, -18.86)
CIE-LCHlch(11.35, 20.37, 292.21°)
OKLaboklab(23.86% 0.0051 -0.0534)
OKLCHoklch(23.86% 0.054 275.4)
XYZxyz(1.5055, 1.3101, 3.9142)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C38 #383418
analogous
#182C38 #181C38 #241838
triadic
#181C38 #38181C #1C3818
tetradic
#181C38 #38182C #383418 #183824
square
#181C38 #38182C #383418 #183824
split-complementary
#181C38 #382418 #2C3818
monochromatic
#090B15 #090B15 #181C38 #2A3163 #3D478E

Accessibility & contrast

On white

16.64
#181C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#181C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C38
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C38#FFFFFF#000000##FFFFFF
##181C381.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112039
Deuteranopia (green-blind)
#0E1D37
Tritanopia (blue-blind)
#0B2227
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181c38;
/* rgb */ color: rgb(24, 28, 56);
/* oklch */ color: oklch(23.9% 0.054 275.4);
Tailwind
colors: {
  custom: {
    50: '#57576f',
    500: '#181c38',
    950: '#000000',
  },
}
SCSS
$custom: #181c38;
$custom-light: #57576f;
$custom-dark: #000000;
JSON
{
  "hex": "#181c38",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 232.5,
    "s": 40,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23864,
    "c": 0.05368,
    "h": 275.4
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#181C38
secondary
#6E683E
accent
#C158D0
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #181C38

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

Preview Lab → · Contrast checker → · Palette generator →

#181C38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva