#18133D#18133D

#18133D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.077 H 283.5°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#18133D
RGBrgb(24, 19, 61)
HSLhsl(247, 53%, 16%)
HSVhsv(247, 69%, 24%)
CMYKcmyk(60.7%, 68.9%, 0%, 76.1%)
CIE-LABlab(8.96, 16.45, -26.26)
CIE-LCHlch(8.96, 30.98, 302.06°)
OKLaboklab(22.2% 0.0181 -0.0753)
OKLCHoklch(22.2% 0.077 283.5)
XYZxyz(1.4516, 0.9968, 4.5299)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18133D #383D13
analogous
#13233D #18133D #2D133D
triadic
#18133D #3D1813 #133D18
tetradic
#18133D #3D1323 #383D13 #133D2D
square
#18133D #3D1323 #383D13 #133D2D
split-complementary
#18133D #3D2D13 #233D13
monochromatic
#090717 #090717 #18133D #2A226C #3D309A

Accessibility & contrast

On white

17.51
#18133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#18133D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18133D
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18133D#FFFFFF#000000##FFFFFF
##18133D1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#00183C
Tritanopia (blue-blind)
#091D25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #18133d;
/* rgb */ color: rgb(24, 19, 61);
/* oklch */ color: oklch(22.2% 0.077 283.5);
Tailwind
colors: {
  custom: {
    50: '#595073',
    500: '#18133d',
    950: '#000000',
  },
}
SCSS
$custom: #18133d;
$custom-light: #595073;
$custom-dark: #000000;
JSON
{
  "hex": "#18133d",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 247.143,
    "s": 52.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22203,
    "c": 0.0774,
    "h": 283.5
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#18133D
secondary
#6E7536
accent
#DC4CCB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #18133D

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

Preview Lab → · Contrast checker → · Palette generator →

#18133D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva