#18184B#18184B

#18184B is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.092 H 277.2°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#18184B
RGBrgb(24, 24, 75)
HSLhsl(240, 52%, 19%)
HSVhsv(240, 68%, 29%)
CMYKcmyk(68%, 68%, 0%, 70.6%)
CIE-LABlab(11.66, 18.20, -31.72)
CIE-LCHlch(11.66, 36.57, 299.85°)
OKLaboklab(24.58% 0.0116 -0.0913)
OKLCHoklch(24.58% 0.092 277.2)
XYZxyz(1.9729, 1.3553, 6.8129)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18184B #4B4B18
analogous
#18324B #18184B #32184B
triadic
#18184B #4B1818 #184B18
tetradic
#18184B #4B1832 #4B4B18 #184B32
square
#18184B #4B1832 #4B4B18 #184B32
split-complementary
#18184B #4B3218 #324B18
monochromatic
#070717 #09091D #18184B #272779 #3636A8

Accessibility & contrast

On white

16.52
#18184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18184B
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18184B#FFFFFF#000000##FFFFFF
##18184B1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18184b;
/* rgb */ color: rgb(24, 24, 75);
/* oklch */ color: oklch(24.6% 0.092 277.2);
Tailwind
colors: {
  custom: {
    50: '#5c547e',
    500: '#18184b',
    950: '#000000',
  },
}
SCSS
$custom: #18184b;
$custom-light: #5c547e;
$custom-dark: #000000;
JSON
{
  "hex": "#18184b",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 240,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24584,
    "c": 0.092,
    "h": 277.2
  },
  "luminance": 0.01355
}

Semantic roles & 50–950 ramp

primary
#18184B
secondary
#82823D
accent
#DB4DDB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #18184B

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

Preview Lab → · Contrast checker → · Palette generator →

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