#181C3A#181C3A

#181C3A is a very dark, muted blue. Relative luminance 0.013; OKLCH L 24.0% C 0.057 H 275.5°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#181C3A
RGBrgb(24, 28, 58)
HSLhsl(233, 41%, 16%)
HSVhsv(233, 59%, 23%)
CMYKcmyk(58.6%, 51.7%, 0%, 77.3%)
CIE-LABlab(11.48, 8.47, -20.07)
CIE-LCHlch(11.48, 21.78, 292.90°)
OKLaboklab(24.01% 0.0055 -0.057)
OKLCHoklch(24.01% 0.057 275.5)
XYZxyz(1.5554, 1.3301, 4.1769)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C3A #3A3618
analogous
#182D3A #181C3A #25183A
triadic
#181C3A #3A181C #1C3A18
tetradic
#181C3A #3A182D #3A3618 #183A25
square
#181C3A #3A182D #3A3618 #183A25
split-complementary
#181C3A #3A2518 #2D3A18
monochromatic
#090A16 #090A16 #181C3A #2A3165 #3C4691

Accessibility & contrast

On white

16.59
#181C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181C3A
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C3A#FFFFFF#000000##FFFFFF
##181C3A1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F203B
Deuteranopia (green-blind)
#0C1D39
Tritanopia (blue-blind)
#0A2228
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181c3a;
/* rgb */ color: rgb(24, 28, 58);
/* oklch */ color: oklch(24.0% 0.057 275.5);
Tailwind
colors: {
  custom: {
    50: '#585770',
    500: '#181c3a',
    950: '#000000',
  },
}
SCSS
$custom: #181c3a;
$custom-light: #585770;
$custom-dark: #000000;
JSON
{
  "hex": "#181c3a",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 58
  },
  "hsl": {
    "h": 232.941,
    "s": 41.463,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24014,
    "c": 0.05724,
    "h": 275.5
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#181C3A
secondary
#706A3E
accent
#C357D1
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #181C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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