#18153C#18153C

#18153C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.5% C 0.072 H 282.4°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#18153C
RGBrgb(24, 21, 60)
HSLhsl(245, 48%, 16%)
HSVhsv(245, 65%, 24%)
CMYKcmyk(60%, 65%, 0%, 76.5%)
CIE-LABlab(9.46, 14.58, -24.75)
CIE-LCHlch(9.46, 28.72, 300.50°)
OKLaboklab(22.54% 0.0155 -0.0708)
OKLCHoklch(22.54% 0.072 282.4)
XYZxyz(1.4602, 1.0567, 4.4011)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18153C #393C15
analogous
#15253C #18153C #2B153C
triadic
#18153C #3C1815 #153C18
tetradic
#18153C #3C1525 #393C15 #153C2B
square
#18153C #3C1525 #393C15 #153C2B
split-complementary
#18153C #3C2B15 #253C15
monochromatic
#090817 #090817 #18153C #2A2569 #3C3597

Accessibility & contrast

On white

17.34
#18153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18153C
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18153C#FFFFFF#000000##FFFFFF
##18153C1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#091E26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #18153c;
/* rgb */ color: rgb(24, 21, 60);
/* oklch */ color: oklch(22.5% 0.072 282.4);
Tailwind
colors: {
  custom: {
    50: '#595272',
    500: '#18153c',
    950: '#000000',
  },
}
SCSS
$custom: #18153c;
$custom-light: #595272;
$custom-dark: #000000;
JSON
{
  "hex": "#18153c",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 244.615,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22538,
    "c": 0.07249,
    "h": 282.4
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#18153C
secondary
#6F7439
accent
#D850CD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040208
muted
#79787B

Preview Lab

Preview with #18153C

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

Preview Lab → · Contrast checker → · Palette generator →

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