#18183E#18183E

#18183E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.071 H 279.4°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#18183E
RGBrgb(24, 24, 62)
HSLhsl(240, 44%, 17%)
HSVhsv(240, 61%, 24%)
CMYKcmyk(61.3%, 61.3%, 0%, 75.7%)
CIE-LABlab(10.52, 13.09, -24.45)
CIE-LCHlch(10.52, 27.73, 298.16°)
OKLaboklab(23.39% 0.0116 -0.0699)
OKLCHoklch(23.39% 0.071 279.4)
XYZxyz(1.5726, 1.1952, 4.7043)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18183E #3E3E18
analogous
#182B3E #18183E #2B183E
triadic
#18183E #3E1818 #183E18
tetradic
#18183E #3E182B #3E3E18 #183E2B
square
#18183E #3E182B #3E3E18 #183E2B
split-complementary
#18183E #3E2B18 #2B3E18
monochromatic
#090916 #090916 #18183E #29296A #3A3A96

Accessibility & contrast

On white

16.95
#18183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#18183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18183E
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18183E#FFFFFF#000000##FFFFFF
##18183E1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#011B3D
Tritanopia (blue-blind)
#072128
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #18183e;
/* rgb */ color: rgb(24, 24, 62);
/* oklch */ color: oklch(23.4% 0.071 279.4);
Tailwind
colors: {
  custom: {
    50: '#595473',
    500: '#18183e',
    950: '#000000',
  },
}
SCSS
$custom: #18183e;
$custom-light: #595473;
$custom-dark: #000000;
JSON
{
  "hex": "#18183e",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 240,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23385,
    "c": 0.07086,
    "h": 279.4
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#18183E
secondary
#74743D
accent
#D454D4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #18183E

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

Preview Lab → · Contrast checker → · Palette generator →

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