#18136A#18136A

#18136A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.142 H 273.9°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#18136A
RGBrgb(24, 19, 106)
HSLhsl(243, 70%, 25%)
HSVhsv(243, 82%, 42%)
CMYKcmyk(77.4%, 82.1%, 0%, 58.4%)
CIE-LABlab(13.83, 33.05, -49.02)
CIE-LCHlch(13.83, 59.12, 303.99°)
OKLaboklab(27.15% 0.0098 -0.1418)
OKLCHoklch(27.15% 0.142 273.9)
XYZxyz(3.2102, 1.7002, 13.7919)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18136A #656A13
analogous
#133A6A #18136A #44136A
triadic
#18136A #6A1813 #136A18
tetradic
#18136A #6A133A #656A13 #136A44
square
#18136A #6A133A #656A13 #136A44
split-complementary
#18136A #6A4413 #3A6A13
monochromatic
#06051A #0C0A36 #18136A #241C9E #3026D2

Accessibility & contrast

On white

15.67
#18136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18136A
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18136A#FFFFFF#000000##FFFFFF
##18136A1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#001F68
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #18136a;
/* rgb */ color: rgb(24, 19, 106);
/* oklch */ color: oklch(27.2% 0.142 273.9);
Tailwind
colors: {
  custom: {
    50: '#655396',
    500: '#18136a',
    950: '#000000',
  },
}
SCSS
$custom: #18136a;
$custom-light: #655396;
$custom-dark: #000000;
JSON
{
  "hex": "#18136a",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 243.448,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27153,
    "c": 0.14213,
    "h": 273.9
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#18136A
secondary
#9BA138
accent
#EC3BE2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #18136A

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

Preview Lab → · Contrast checker → · Palette generator →

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