#18136B#18136B

#18136B is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.143 H 273.8°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#18136B
RGBrgb(24, 19, 107)
HSLhsl(243, 70%, 25%)
HSVhsv(243, 82%, 42%)
CMYKcmyk(77.6%, 82.2%, 0%, 58%)
CIE-LABlab(13.95, 33.40, -49.47)
CIE-LCHlch(13.95, 59.69, 304.03°)
OKLaboklab(27.27% 0.0095 -0.1431)
OKLCHoklch(27.27% 0.143 273.8)
XYZxyz(3.2625, 1.7211, 14.0673)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18136B #666B13
analogous
#133A6B #18136B #44136B
triadic
#18136B #6B1813 #136B18
tetradic
#18136B #6B133A #666B13 #136B44
square
#18136B #6B133A #666B13 #136B44
split-complementary
#18136B #6B4413 #3A6B13
monochromatic
#06051A #0C0A37 #18136B #241C9F #2F25D3

Accessibility & contrast

On white

15.62
#18136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#18136B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18136B
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18136B#FFFFFF#000000##FFFFFF
##18136B1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286D
Deuteranopia (green-blind)
#001F69
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #18136b;
/* rgb */ color: rgb(24, 19, 107);
/* oklch */ color: oklch(27.3% 0.143 273.8);
Tailwind
colors: {
  custom: {
    50: '#655396',
    500: '#18136b',
    950: '#000000',
  },
}
SCSS
$custom: #18136b;
$custom-light: #655396;
$custom-dark: #000000;
JSON
{
  "hex": "#18136b",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 243.409,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27274,
    "c": 0.14343,
    "h": 273.8
  },
  "luminance": 0.01721
}

Semantic roles & 50–950 ramp

primary
#18136B
secondary
#9CA238
accent
#ED3BE3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #18136B

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

Preview Lab → · Contrast checker → · Palette generator →

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