#18135B#18135B

#18135B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.122 H 276.3°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#18135B
RGBrgb(24, 19, 91)
HSLhsl(244, 65%, 22%)
HSVhsv(244, 79%, 36%)
CMYKcmyk(73.6%, 79.1%, 0%, 64.3%)
CIE-LABlab(12.06, 27.71, -41.97)
CIE-LCHlch(12.06, 50.29, 303.43°)
OKLaboklab(25.38% 0.0134 -0.1213)
OKLCHoklch(25.38% 0.122 276.3)
XYZxyz(2.4973, 1.4150, 10.0370)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18135B #565B13
analogous
#13325B #18135B #3C135B
triadic
#18135B #5B1813 #135B18
tetradic
#18135B #5B1332 #565B13 #135B3C
square
#18135B #5B1332 #565B13 #135B3C
split-complementary
#18135B #5B3C13 #325B13
monochromatic
#070519 #0B0828 #18135B #251E8E #3328C0

Accessibility & contrast

On white

16.37
#18135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#18135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18135B
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18135B#FFFFFF#000000##FFFFFF
##18135B1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18135b;
/* rgb */ color: rgb(24, 19, 91);
/* oklch */ color: oklch(25.4% 0.122 276.3);
Tailwind
colors: {
  custom: {
    50: '#60528a',
    500: '#18135b',
    950: '#000000',
  },
}
SCSS
$custom: #18135b;
$custom-light: #60528a;
$custom-dark: #000000;
JSON
{
  "hex": "#18135b",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 244.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25381,
    "c": 0.12203,
    "h": 276.3
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#18135B
secondary
#8D9337
accent
#E83FDD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #18135B

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

Preview Lab → · Contrast checker → · Palette generator →

#18135B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva