#18182E#18182E

#18182E is a very dark, muted blue. Relative luminance 0.010; OKLCH L 22.1% C 0.043 H 282.4°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#18182E
RGBrgb(24, 24, 46)
HSLhsl(240, 31%, 14%)
HSVhsv(240, 48%, 18%)
CMYKcmyk(47.8%, 47.8%, 0%, 82%)
CIE-LABlab(9.36, 7.00, -14.76)
CIE-LCHlch(9.36, 16.34, 295.38°)
OKLaboklab(22.13% 0.0091 -0.0415)
OKLCHoklch(22.13% 0.043 282.4)
XYZxyz(1.1963, 1.0447, 2.7228)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18182E #2E2E18
analogous
#18232E #18182E #23182E
triadic
#18182E #2E1818 #182E18
tetradic
#18182E #2E1823 #2E2E18 #182E23
square
#18182E #2E1823 #2E2E18 #182E23
split-complementary
#18182E #2E2318 #232E18
monochromatic
#0A0A14 #0A0A14 #18182E #2D2D56 #42427E

Accessibility & contrast

On white

17.37
#18182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#18182E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18182E
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18182E#FFFFFF#000000##FFFFFF
##18182E1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111B2F
Deuteranopia (green-blind)
#10192D
Tritanopia (blue-blind)
#121C20
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #18182e;
/* rgb */ color: rgb(24, 24, 46);
/* oklch */ color: oklch(22.1% 0.043 282.4);
Tailwind
colors: {
  custom: {
    50: '#565467',
    500: '#18182e',
    950: '#000000',
  },
}
SCSS
$custom: #18182e;
$custom-light: #565467;
$custom-dark: #000000;
JSON
{
  "hex": "#18182e",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22129,
    "c": 0.0425,
    "h": 282.4
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#18182E
secondary
#63633F
accent
#C860C8
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030206
muted
#78787A

Preview Lab

Preview with #18182E

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

Preview Lab → · Contrast checker → · Palette generator →

#18182E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva