#18113C#18113C

#18113C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.079 H 285.2°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#18113C
RGBrgb(24, 17, 60)
HSLhsl(250, 56%, 15%)
HSVhsv(250, 72%, 24%)
CMYKcmyk(60%, 71.7%, 0%, 76.5%)
CIE-LABlab(8.32, 17.53, -26.59)
CIE-LCHlch(8.32, 31.85, 303.39°)
OKLaboklab(21.7% 0.0207 -0.0762)
OKLCHoklch(21.7% 0.079 285.2)
XYZxyz(1.3925, 0.9213, 4.3785)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18113C #353C11
analogous
#11203C #18113C #2D113C
triadic
#18113C #3C1811 #113C18
tetradic
#18113C #3C1120 #353C11 #113C2D
square
#18113C #3C1120 #353C11 #113C2D
split-complementary
#18113C #3C2D11 #203C11
monochromatic
#0A0718 #0A0718 #18113C #2B1F6C #3E2C9B

Accessibility & contrast

On white

17.73
#18113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#18113C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18113C
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18113C#FFFFFF#000000##FFFFFF
##18113C1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#0A1B24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #18113c;
/* rgb */ color: rgb(24, 17, 60);
/* oklch */ color: oklch(21.7% 0.079 285.2);
Tailwind
colors: {
  custom: {
    50: '#594f72',
    500: '#18113c',
    950: '#000000',
  },
}
SCSS
$custom: #18113c;
$custom-light: #594f72;
$custom-dark: #000000;
JSON
{
  "hex": "#18113c",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 249.767,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21701,
    "c": 0.079,
    "h": 285.2
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#18113C
secondary
#6B7533
accent
#DF49C7
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040208
muted
#79787B

Preview Lab

Preview with #18113C

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

Preview Lab → · Contrast checker → · Palette generator →

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