#18184C#18184C

#18184C is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.094 H 277.1°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#18184C
RGBrgb(24, 24, 76)
HSLhsl(240, 52%, 20%)
HSVhsv(240, 68%, 30%)
CMYKcmyk(68.4%, 68.4%, 0%, 70.2%)
CIE-LABlab(11.75, 18.59, -32.25)
CIE-LCHlch(11.75, 37.23, 299.96°)
OKLaboklab(24.68% 0.0115 -0.0928)
OKLCHoklch(24.68% 0.094 277.1)
XYZxyz(2.0074, 1.3691, 6.9946)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18184C #4C4C18
analogous
#18324C #18184C #32184C
triadic
#18184C #4C1818 #184C18
tetradic
#18184C #4C1832 #4C4C18 #184C32
square
#18184C #4C1832 #4C4C18 #184C32
split-complementary
#18184C #4C3218 #324C18
monochromatic
#070717 #09091D #18184C #27277B #3535A9

Accessibility & contrast

On white

16.49
#18184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#18184C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18184C
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18184C#FFFFFF#000000##FFFFFF
##18184C1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #18184c;
/* rgb */ color: rgb(24, 24, 76);
/* oklch */ color: oklch(24.7% 0.094 277.1);
Tailwind
colors: {
  custom: {
    50: '#5c557f',
    500: '#18184c',
    950: '#000000',
  },
}
SCSS
$custom: #18184c;
$custom-light: #5c557f;
$custom-dark: #000000;
JSON
{
  "hex": "#18184c",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 240,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24682,
    "c": 0.09356,
    "h": 277.1
  },
  "luminance": 0.01369
}

Semantic roles & 50–950 ramp

primary
#18184C
secondary
#83833D
accent
#DB4CDB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #18184C

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

Preview Lab → · Contrast checker → · Palette generator →

#18184C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva