#181D3E#181D3E

#181D3E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.063 H 274.4°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#181D3E
RGBrgb(24, 29, 62)
HSLhsl(232, 44%, 17%)
HSVhsv(232, 61%, 24%)
CMYKcmyk(61.3%, 53.2%, 0%, 75.7%)
CIE-LABlab(12.09, 9.29, -21.93)
CIE-LCHlch(12.09, 23.81, 292.95°)
OKLaboklab(24.57% 0.0048 -0.0624)
OKLCHoklch(24.57% 0.063 274.4)
XYZxyz(1.6853, 1.4206, 4.7419)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D3E #3E3918
analogous
#18303E #181D3E #26183E
triadic
#181D3E #3E181D #1D3E18
tetradic
#181D3E #3E1830 #3E3918 #183E26
square
#181D3E #3E1830 #3E3918 #183E26
split-complementary
#181D3E #3E2618 #303E18
monochromatic
#090A16 #090A16 #181D3E #29326A #3A4696

Accessibility & contrast

On white

16.35
#181D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#181D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D3E
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D3E#FFFFFF#000000##FFFFFF
##181D3E1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E213F
Deuteranopia (green-blind)
#0A1E3D
Tritanopia (blue-blind)
#06242A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181d3e;
/* rgb */ color: rgb(24, 29, 62);
/* oklch */ color: oklch(24.6% 0.063 274.4);
Tailwind
colors: {
  custom: {
    50: '#585873',
    500: '#181d3e',
    950: '#000000',
  },
}
SCSS
$custom: #181d3e;
$custom-light: #585873;
$custom-dark: #000000;
JSON
{
  "hex": "#181d3e",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 232.105,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2457,
    "c": 0.06261,
    "h": 274.4
  },
  "luminance": 0.01421
}

Semantic roles & 50–950 ramp

primary
#181D3E
secondary
#746D3D
accent
#C354D4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #181D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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