#181C3C#181C3C

#181C3C is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.2% C 0.061 H 275.5°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#181C3C
RGBrgb(24, 28, 60)
HSLhsl(233, 43%, 16%)
HSVhsv(233, 60%, 24%)
CMYKcmyk(60%, 53.3%, 0%, 76.5%)
CIE-LABlab(11.63, 9.26, -21.26)
CIE-LCHlch(11.63, 23.19, 293.54°)
OKLaboklab(24.17% 0.0059 -0.0605)
OKLCHoklch(24.17% 0.061 275.5)
XYZxyz(1.6073, 1.3508, 4.4501)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C3C #3C3818
analogous
#182E3C #181C3C #26183C
triadic
#181C3C #3C181C #1C3C18
tetradic
#181C3C #3C182E #3C3818 #183C26
square
#181C3C #3C182E #3C3818 #183C26
split-complementary
#181C3C #3C2618 #2E3C18
monochromatic
#090A16 #090A16 #181C3C #293068 #3B4593

Accessibility & contrast

On white

16.53
#181C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181C3C
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C3C#FFFFFF#000000##FFFFFF
##181C3C1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E203D
Deuteranopia (green-blind)
#0A1D3B
Tritanopia (blue-blind)
#082329
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181c3c;
/* rgb */ color: rgb(24, 28, 60);
/* oklch */ color: oklch(24.2% 0.061 275.5);
Tailwind
colors: {
  custom: {
    50: '#585772',
    500: '#181c3c',
    950: '#000000',
  },
}
SCSS
$custom: #181c3c;
$custom-light: #585772;
$custom-dark: #000000;
JSON
{
  "hex": "#181c3c",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 60
  },
  "hsl": {
    "h": 233.333,
    "s": 42.857,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24168,
    "c": 0.06076,
    "h": 275.5
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#181C3C
secondary
#726C3E
accent
#C555D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #181C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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