#18193D#18193D

#18193D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.068 H 278.7°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#18193D
RGBrgb(24, 25, 61)
HSLhsl(238, 44%, 17%)
HSVhsv(238, 61%, 24%)
CMYKcmyk(60.7%, 59%, 0%, 76.1%)
CIE-LABlab(10.75, 11.94, -23.37)
CIE-LCHlch(10.75, 26.25, 297.06°)
OKLaboklab(23.53% 0.0102 -0.0667)
OKLCHoklch(23.53% 0.068 278.7)
XYZxyz(1.5664, 1.2263, 4.5681)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18193D #3D3C18
analogous
#182C3D #18193D #2A183D
triadic
#18193D #3D1819 #193D18
tetradic
#18193D #3D182C #3D3C18 #183D2A
square
#18193D #3D182C #3D3C18 #183D2A
split-complementary
#18193D #3D2A18 #2C3D18
monochromatic
#090916 #090916 #18193D #292B69 #3B3D95

Accessibility & contrast

On white

16.86
#18193D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#18193D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18193D
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18193D#FFFFFF#000000##FFFFFF
##18193D1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071E3E
Deuteranopia (green-blind)
#041C3C
Tritanopia (blue-blind)
#082128
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #18193d;
/* rgb */ color: rgb(24, 25, 61);
/* oklch */ color: oklch(23.5% 0.068 278.7);
Tailwind
colors: {
  custom: {
    50: '#585573',
    500: '#18193d',
    950: '#000000',
  },
}
SCSS
$custom: #18193d;
$custom-light: #585573;
$custom-dark: #000000;
JSON
{
  "hex": "#18193d",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 61
  },
  "hsl": {
    "h": 238.378,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2353,
    "c": 0.0675,
    "h": 278.7
  },
  "luminance": 0.01226
}

Semantic roles & 50–950 ramp

primary
#18193D
secondary
#73723D
accent
#D055D3
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #18193D

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

Preview Lab → · Contrast checker → · Palette generator →

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