#18155A#18155A

#18155A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.118 H 275.9°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#18155A
RGBrgb(24, 21, 90)
HSLhsl(243, 62%, 22%)
HSVhsv(243, 77%, 35%)
CMYKcmyk(73.3%, 76.7%, 0%, 64.7%)
CIE-LABlab(12.41, 26.05, -40.72)
CIE-LCHlch(12.41, 48.34, 302.61°)
OKLaboklab(25.6% 0.0123 -0.1177)
OKLCHoklch(25.6% 0.118 275.9)
XYZxyz(2.4897, 1.4685, 9.8231)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18155A #575A15
analogous
#15355A #18155A #3B155A
triadic
#18155A #5A1815 #155A18
tetradic
#18155A #5A1535 #575A15 #155A3B
square
#18155A #5A1535 #575A15 #155A3B
split-complementary
#18155A #5A3B15 #355A15
monochromatic
#070619 #0B0928 #18155A #25218C #322CBD

Accessibility & contrast

On white

16.23
#18155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#18155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18155A
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18155A#FFFFFF#000000##FFFFFF
##18155A1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #18155a;
/* rgb */ color: rgb(24, 21, 90);
/* oklch */ color: oklch(25.6% 0.118 275.9);
Tailwind
colors: {
  custom: {
    50: '#605389',
    500: '#18155a',
    950: '#000000',
  },
}
SCSS
$custom: #18155a;
$custom-light: #605389;
$custom-dark: #000000;
JSON
{
  "hex": "#18155a",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 242.609,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25595,
    "c": 0.1183,
    "h": 275.9
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#18155A
secondary
#8E9239
accent
#E543DE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #18155A

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

Preview Lab → · Contrast checker → · Palette generator →

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