#18133B#18133B

#18133B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.074 H 284.2°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#18133B
RGBrgb(24, 19, 59)
HSLhsl(248, 51%, 15%)
HSVhsv(248, 68%, 23%)
CMYKcmyk(59.3%, 67.8%, 0%, 76.9%)
CIE-LABlab(8.79, 15.69, -25.12)
CIE-LCHlch(8.79, 29.61, 301.99°)
OKLaboklab(22.02% 0.0182 -0.0719)
OKLCHoklch(22.02% 0.074 284.2)
XYZxyz(1.3987, 0.9756, 4.2514)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18133B #363B13
analogous
#13223B #18133B #2C133B
triadic
#18133B #3B1813 #133B18
tetradic
#18133B #3B1322 #363B13 #133B2C
square
#18133B #3B1322 #363B13 #133B2C
split-complementary
#18133B #3B2C13 #223B13
monochromatic
#090717 #090717 #18133B #2B2269 #3E3198

Accessibility & contrast

On white

17.57
#18133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18133B
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18133B#FFFFFF#000000##FFFFFF
##18133B1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#0A1C24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #18133b;
/* rgb */ color: rgb(24, 19, 59);
/* oklch */ color: oklch(22.0% 0.074 284.2);
Tailwind
colors: {
  custom: {
    50: '#595071',
    500: '#18133b',
    950: '#000000',
  },
}
SCSS
$custom: #18133b;
$custom-light: #595071;
$custom-dark: #000000;
JSON
{
  "hex": "#18133b",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 247.5,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22016,
    "c": 0.07415,
    "h": 284.2
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#18133B
secondary
#6C7336
accent
#DB4DC9
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040208
muted
#79787B

Preview Lab

Preview with #18133B

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

Preview Lab → · Contrast checker → · Palette generator →

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