#18133E#18133E

#18133E is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.079 H 283.2°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#18133E
RGBrgb(24, 19, 62)
HSLhsl(247, 53%, 16%)
HSVhsv(247, 69%, 24%)
CMYKcmyk(61.3%, 69.4%, 0%, 75.7%)
CIE-LABlab(9.06, 16.83, -26.82)
CIE-LCHlch(9.06, 31.66, 302.10°)
OKLaboklab(22.3% 0.018 -0.0769)
OKLCHoklch(22.3% 0.079 283.2)
XYZxyz(1.4788, 1.0077, 4.6731)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18133E #393E13
analogous
#13233E #18133E #2D133E
triadic
#18133E #3E1813 #133E18
tetradic
#18133E #3E1323 #393E13 #133E2D
square
#18133E #3E1323 #393E13 #133E2D
split-complementary
#18133E #3E2D13 #233E13
monochromatic
#090717 #090717 #18133E #2A216D #3C309C

Accessibility & contrast

On white

17.48
#18133E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18133E
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18133E#FFFFFF#000000##FFFFFF
##18133E1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#081D26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #18133e;
/* rgb */ color: rgb(24, 19, 62);
/* oklch */ color: oklch(22.3% 0.079 283.2);
Tailwind
colors: {
  custom: {
    50: '#595074',
    500: '#18133e',
    950: '#000000',
  },
}
SCSS
$custom: #18133e;
$custom-light: #595074;
$custom-dark: #000000;
JSON
{
  "hex": "#18133e",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 246.977,
    "s": 53.086,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22298,
    "c": 0.07901,
    "h": 283.2
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#18133E
secondary
#6F7736
accent
#DC4BCC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #18133E

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

Preview Lab → · Contrast checker → · Palette generator →

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