#181B3D#181B3D

#181B3D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.064 H 276.6°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#181B3D
RGBrgb(24, 27, 61)
HSLhsl(235, 44%, 17%)
HSVhsv(235, 61%, 24%)
CMYKcmyk(60.7%, 55.7%, 0%, 76.1%)
CIE-LABlab(11.38, 10.41, -22.36)
CIE-LCHlch(11.38, 24.67, 294.97°)
OKLaboklab(24% 0.0074 -0.0637)
OKLCHoklch(24% 0.064 276.6)
XYZxyz(1.6107, 1.3149, 4.5829)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181B3D #3D3A18
analogous
#182E3D #181B3D #28183D
triadic
#181B3D #3D181B #1B3D18
tetradic
#181B3D #3D182E #3D3A18 #183D28
square
#181B3D #3D182E #3D3A18 #183D28
split-complementary
#181B3D #3D2818 #2E3D18
monochromatic
#090A16 #090A16 #181B3D #292E69 #3B4295

Accessibility & contrast

On white

16.63
#181B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181B3D
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181B3D#FFFFFF#000000##FFFFFF
##181B3D1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B203E
Deuteranopia (green-blind)
#071D3C
Tritanopia (blue-blind)
#082229
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181b3d;
/* rgb */ color: rgb(24, 27, 61);
/* oklch */ color: oklch(24.0% 0.064 276.6);
Tailwind
colors: {
  custom: {
    50: '#585773',
    500: '#181b3d',
    950: '#000000',
  },
}
SCSS
$custom: #181b3d;
$custom-light: #585773;
$custom-dark: #000000;
JSON
{
  "hex": "#181b3d",
  "rgb": {
    "r": 24,
    "g": 27,
    "b": 61
  },
  "hsl": {
    "h": 235.135,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24004,
    "c": 0.06417,
    "h": 276.6
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#181B3D
secondary
#736F3D
accent
#C955D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #181B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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