#18136C#18136C

#18136C is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.145 H 273.7°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#18136C
RGBrgb(24, 19, 108)
HSLhsl(243, 70%, 25%)
HSVhsv(243, 82%, 42%)
CMYKcmyk(77.8%, 82.4%, 0%, 57.6%)
CIE-LABlab(14.07, 33.75, -49.92)
CIE-LCHlch(14.07, 60.26, 304.06°)
OKLaboklab(27.4% 0.0093 -0.1444)
OKLCHoklch(27.4% 0.145 273.7)
XYZxyz(3.3154, 1.7423, 14.3460)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18136C #676C13
analogous
#133A6C #18136C #45136C
triadic
#18136C #6C1813 #136C18
tetradic
#18136C #6C133A #676C13 #136C45
square
#18136C #6C133A #676C13 #136C45
split-complementary
#18136C #6C4513 #3A6C13
monochromatic
#06051A #0C0A38 #18136C #241CA0 #2F25D4

Accessibility & contrast

On white

15.57
#18136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18136C
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18136C#FFFFFF#000000##FFFFFF
##18136C1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#001F6A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #18136c;
/* rgb */ color: rgb(24, 19, 108);
/* oklch */ color: oklch(27.4% 0.145 273.7);
Tailwind
colors: {
  custom: {
    50: '#655397',
    500: '#18136c',
    950: '#000000',
  },
}
SCSS
$custom: #18136c;
$custom-light: #655397;
$custom-dark: #000000;
JSON
{
  "hex": "#18136c",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 243.371,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27396,
    "c": 0.14472,
    "h": 273.7
  },
  "luminance": 0.01743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18136C

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

Preview Lab → · Contrast checker → · Palette generator →

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