#18153D#18153D

#18153D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.074 H 282.1°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#18153D
RGBrgb(24, 21, 61)
HSLhsl(245, 49%, 16%)
HSVhsv(245, 66%, 24%)
CMYKcmyk(60.7%, 65.6%, 0%, 76.1%)
CIE-LABlab(9.54, 14.96, -25.32)
CIE-LCHlch(9.54, 29.41, 300.57°)
OKLaboklab(22.63% 0.0155 -0.0725)
OKLCHoklch(22.63% 0.074 282.1)
XYZxyz(1.4869, 1.0674, 4.5416)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18153D #3A3D15
analogous
#15263D #18153D #2C153D
triadic
#18153D #3D1815 #153D18
tetradic
#18153D #3D1526 #3A3D15 #153D2C
square
#18153D #3D1526 #3A3D15 #153D2C
split-complementary
#18153D #3D2C15 #263D15
monochromatic
#090817 #090817 #18153D #2A256B #3C3498

Accessibility & contrast

On white

17.31
#18153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18153D
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18153D#FFFFFF#000000##FFFFFF
##18153D1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#081E26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #18153d;
/* rgb */ color: rgb(24, 21, 61);
/* oklch */ color: oklch(22.6% 0.074 282.1);
Tailwind
colors: {
  custom: {
    50: '#595273',
    500: '#18153d',
    950: '#000000',
  },
}
SCSS
$custom: #18153d;
$custom-light: #595273;
$custom-dark: #000000;
JSON
{
  "hex": "#18153d",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 244.5,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22628,
    "c": 0.07414,
    "h": 282.1
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#18153D
secondary
#707539
accent
#D84FCE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #18153D

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

Preview Lab → · Contrast checker → · Palette generator →

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