#181D3F#181D3F

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

Color values

HEX#181D3F
RGBrgb(24, 29, 63)
HSLhsl(232, 45%, 17%)
HSVhsv(232, 62%, 25%)
CMYKcmyk(61.9%, 54%, 0%, 75.3%)
CIE-LABlab(12.17, 9.68, -22.52)
CIE-LCHlch(12.17, 24.51, 293.27°)
OKLaboklab(24.65% 0.0049 -0.0642)
OKLCHoklch(24.65% 0.064 274.4)
XYZxyz(1.7130, 1.4317, 4.8877)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D3F #3F3A18
analogous
#18313F #181D3F #27183F
triadic
#181D3F #3F181D #1D3F18
tetradic
#181D3F #3F1831 #3F3A18 #183F27
square
#181D3F #3F1831 #3F3A18 #183F27
split-complementary
#181D3F #3F2718 #313F18
monochromatic
#080A16 #080A16 #181D3F #29316B #3A4698

Accessibility & contrast

On white

16.32
#181D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#181D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D3F
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D3F#FFFFFF#000000##FFFFFF
##181D3F1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2240
Deuteranopia (green-blind)
#091E3E
Tritanopia (blue-blind)
#05242A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181d3f;
/* rgb */ color: rgb(24, 29, 63);
/* oklch */ color: oklch(24.6% 0.064 274.4);
Tailwind
colors: {
  custom: {
    50: '#595874',
    500: '#181d3f',
    950: '#000000',
  },
}
SCSS
$custom: #181d3f;
$custom-light: #595874;
$custom-dark: #000000;
JSON
{
  "hex": "#181d3f",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 232.308,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24649,
    "c": 0.06435,
    "h": 274.4
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#181D3F
secondary
#756E3D
accent
#C453D5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #181D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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