#18136D#18136D

#18136D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.146 H 273.5°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#18136D
RGBrgb(24, 19, 109)
HSLhsl(243, 70%, 25%)
HSVhsv(243, 83%, 43%)
CMYKcmyk(78%, 82.6%, 0%, 57.3%)
CIE-LABlab(14.19, 34.09, -50.37)
CIE-LCHlch(14.19, 60.83, 304.09°)
OKLaboklab(27.52% 0.009 -0.1457)
OKLCHoklch(27.52% 0.146 273.5)
XYZxyz(3.3690, 1.7637, 14.6279)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18136D #686D13
analogous
#133B6D #18136D #45136D
triadic
#18136D #6D1813 #136D18
tetradic
#18136D #6D133B #686D13 #136D45
square
#18136D #6D133B #686D13 #136D45
split-complementary
#18136D #6D4513 #3B6D13
monochromatic
#06051A #0D0A39 #18136D #231CA1 #2F25D5

Accessibility & contrast

On white

15.52
#18136D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#18136D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18136D
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18136D#FFFFFF#000000##FFFFFF
##18136D1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#00206B
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #18136d;
/* rgb */ color: rgb(24, 19, 109);
/* oklch */ color: oklch(27.5% 0.146 273.5);
Tailwind
colors: {
  custom: {
    50: '#655398',
    500: '#18136d',
    950: '#000000',
  },
}
SCSS
$custom: #18136d;
$custom-light: #655398;
$custom-dark: #000000;
JSON
{
  "hex": "#18136d",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 109
  },
  "hsl": {
    "h": 243.333,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27518,
    "c": 0.14601,
    "h": 273.5
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#18136D
secondary
#9EA438
accent
#ED3BE3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #18136D

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

Preview Lab → · Contrast checker → · Palette generator →

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