#181D38#181D38

#181D38 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.1% C 0.052 H 273.9°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#181D38
RGBrgb(24, 29, 56)
HSLhsl(231, 40%, 16%)
HSVhsv(231, 57%, 22%)
CMYKcmyk(57.1%, 48.2%, 0%, 78%)
CIE-LABlab(11.68, 6.93, -18.33)
CIE-LCHlch(11.68, 19.60, 290.72°)
OKLaboklab(24.12% 0.0036 -0.0519)
OKLCHoklch(24.12% 0.052 273.9)
XYZxyz(1.5296, 1.3584, 3.9222)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D38 #383318
analogous
#182D38 #181D38 #231838
triadic
#181D38 #38181D #1D3818
tetradic
#181D38 #38182D #383318 #183823
square
#181D38 #38182D #383318 #183823
split-complementary
#181D38 #382318 #2D3818
monochromatic
#090B15 #090B15 #181D38 #2A3363 #3D498E

Accessibility & contrast

On white

16.51
#181D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181D38
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D38#FFFFFF#000000##FFFFFF
##181D381.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122039
Deuteranopia (green-blind)
#0F1E37
Tritanopia (blue-blind)
#0B2327
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181d38;
/* rgb */ color: rgb(24, 29, 56);
/* oklch */ color: oklch(24.1% 0.052 273.9);
Tailwind
colors: {
  custom: {
    50: '#57586f',
    500: '#181d38',
    950: '#000000',
  },
}
SCSS
$custom: #181d38;
$custom-light: #57586f;
$custom-dark: #000000;
JSON
{
  "hex": "#181d38",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 56
  },
  "hsl": {
    "h": 230.625,
    "s": 40,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24117,
    "c": 0.05201,
    "h": 273.9
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#181D38
secondary
#6E663E
accent
#BD58D0
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #181D38

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

Preview Lab → · Contrast checker → · Palette generator →

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