#181B3E#181B3E

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

Color values

HEX#181B3E
RGBrgb(24, 27, 62)
HSLhsl(235, 44%, 17%)
HSVhsv(235, 61%, 24%)
CMYKcmyk(61.3%, 56.5%, 0%, 75.7%)
CIE-LABlab(11.45, 10.81, -22.95)
CIE-LCHlch(11.45, 25.37, 295.21°)
OKLaboklab(24.09% 0.0075 -0.0655)
OKLCHoklch(24.09% 0.066 276.6)
XYZxyz(1.6378, 1.3258, 4.7261)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181B3E #3E3B18
analogous
#182E3E #181B3E #28183E
triadic
#181B3E #3E181B #1B3E18
tetradic
#181B3E #3E182E #3E3B18 #183E28
square
#181B3E #3E182E #3E3B18 #183E28
split-complementary
#181B3E #3E2818 #2E3E18
monochromatic
#090A16 #090A16 #181B3E #292E6A #3A4196

Accessibility & contrast

On white

16.60
#181B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#181B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181B3E
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181B3E#FFFFFF#000000##FFFFFF
##181B3E1.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A203F
Deuteranopia (green-blind)
#061D3D
Tritanopia (blue-blind)
#072329
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181b3e;
/* rgb */ color: rgb(24, 27, 62);
/* oklch */ color: oklch(24.1% 0.066 276.6);
Tailwind
colors: {
  custom: {
    50: '#595773',
    500: '#181b3e',
    950: '#000000',
  },
}
SCSS
$custom: #181b3e;
$custom-light: #595773;
$custom-dark: #000000;
JSON
{
  "hex": "#181b3e",
  "rgb": {
    "r": 24,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 235.263,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24085,
    "c": 0.06589,
    "h": 276.6
  },
  "luminance": 0.01326
}

Semantic roles & 50–950 ramp

primary
#181B3E
secondary
#74703D
accent
#CA54D4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #181B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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