#18139E#18139E

#18139E is a dark, highly saturated blue. Relative luminance 0.031; OKLCH L 33.7% C 0.205 H 269.2°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#18139E
RGBrgb(24, 19, 158)
HSLhsl(242, 79%, 35%)
HSVhsv(242, 88%, 62%)
CMYKcmyk(84.8%, 88%, 0%, 38%)
CIE-LABlab(20.55, 49.82, -70.77)
CIE-LCHlch(20.55, 86.54, 305.14°)
OKLaboklab(33.72% -0.003 -0.2047)
OKLCHoklch(33.72% 0.205 269.2)
XYZxyz(6.7790, 3.1277, 32.5875)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18139E #999E13
analogous
#13549E #18139E #5D139E
triadic
#18139E #9E1813 #139E18
tetradic
#18139E #9E1354 #999E13 #139E5D
square
#18139E #9E1354 #999E13 #139E5D
split-complementary
#18139E #9E5D13 #549E13
monochromatic
#070631 #100C67 #18139E #201AD5 #4943E8

Accessibility & contrast

On white

12.92
#18139E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#18139E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18139E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18139E#FFFFFF#000000##FFFFFF
##18139E1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0038A2
Deuteranopia (green-blind)
#002A9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #18139e;
/* rgb */ color: rgb(24, 19, 158);
/* oklch */ color: oklch(33.7% 0.205 269.2);
Tailwind
colors: {
  custom: {
    50: '#7357bc',
    500: '#18139e',
    950: '#000000',
  },
}
SCSS
$custom: #18139e;
$custom-light: #7357bc;
$custom-dark: #000000;
JSON
{
  "hex": "#18139e",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 158
  },
  "hsl": {
    "h": 242.158,
    "s": 78.531,
    "l": 34.706
  },
  "oklch": {
    "l": 0.33719,
    "c": 0.20476,
    "h": 269.2
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#18139E
secondary
#C4C944
accent
#F533EE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #18139E

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

Preview Lab → · Contrast checker → · Palette generator →

#18139E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva