#18113E#18113E

#18113E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.082 H 284.4°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#18113E
RGBrgb(24, 17, 62)
HSLhsl(249, 57%, 15%)
HSVhsv(249, 73%, 24%)
CMYKcmyk(61.3%, 72.6%, 0%, 75.7%)
CIE-LABlab(8.51, 18.28, -27.72)
CIE-LCHlch(8.51, 33.20, 303.40°)
OKLaboklab(21.9% 0.0205 -0.0796)
OKLCHoklch(21.9% 0.082 284.4)
XYZxyz(1.4464, 0.9428, 4.6623)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18113E #373E11
analogous
#11203E #18113E #2E113E
triadic
#18113E #3E1811 #113E18
tetradic
#18113E #3E1120 #373E11 #113E2E
square
#18113E #3E1120 #373E11 #113E2E
split-complementary
#18113E #3E2E11 #203E11
monochromatic
#090718 #090718 #18113E #2B1E6E #3D2B9E

Accessibility & contrast

On white

17.67
#18113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#18113E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18113E
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18113E#FFFFFF#000000##FFFFFF
##18113E1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#081C25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #18113e;
/* rgb */ color: rgb(24, 17, 62);
/* oklch */ color: oklch(21.9% 0.082 284.4);
Tailwind
colors: {
  custom: {
    50: '#594f74',
    500: '#18113e',
    950: '#000000',
  },
}
SCSS
$custom: #18113e;
$custom-light: #594f74;
$custom-dark: #000000;
JSON
{
  "hex": "#18113e",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 249.333,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21897,
    "c": 0.08215,
    "h": 284.4
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#18113E
secondary
#6D7733
accent
#E048C8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #18113E

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

Preview Lab → · Contrast checker → · Palette generator →

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