#18153A#18153A

#18153A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.069 H 282.9°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#18153A
RGBrgb(24, 21, 58)
HSLhsl(245, 47%, 15%)
HSVhsv(245, 64%, 23%)
CMYKcmyk(58.6%, 63.8%, 0%, 77.3%)
CIE-LABlab(9.29, 13.81, -23.59)
CIE-LCHlch(9.29, 27.33, 300.35°)
OKLaboklab(22.36% 0.0155 -0.0674)
OKLCHoklch(22.36% 0.069 282.9)
XYZxyz(1.4083, 1.0359, 4.1279)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18153A #373A15
analogous
#15243A #18153A #2A153A
triadic
#18153A #3A1815 #153A18
tetradic
#18153A #3A1524 #373A15 #153A2A
square
#18153A #3A1524 #373A15 #153A2A
split-complementary
#18153A #3A2A15 #243A15
monochromatic
#090816 #090816 #18153A #2B2567 #3D3694

Accessibility & contrast

On white

17.40
#18153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#18153A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18153A
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18153A#FFFFFF#000000##FFFFFF
##18153A1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3B
Deuteranopia (green-blind)
#011939
Tritanopia (blue-blind)
#0B1D25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #18153a;
/* rgb */ color: rgb(24, 21, 58);
/* oklch */ color: oklch(22.4% 0.069 282.9);
Tailwind
colors: {
  custom: {
    50: '#585270',
    500: '#18153a',
    950: '#000000',
  },
}
SCSS
$custom: #18153a;
$custom-light: #585270;
$custom-dark: #000000;
JSON
{
  "hex": "#18153a",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 244.865,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2236,
    "c": 0.06914,
    "h": 282.9
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#18153A
secondary
#6D7139
accent
#D651CC
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #18153A

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

Preview Lab → · Contrast checker → · Palette generator →

#18153A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva