#18136E#18136E

#18136E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.147 H 273.4°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#18136E
RGBrgb(24, 19, 110)
HSLhsl(243, 71%, 25%)
HSVhsv(243, 83%, 43%)
CMYKcmyk(78.2%, 82.7%, 0%, 56.9%)
CIE-LABlab(14.32, 34.44, -50.82)
CIE-LCHlch(14.32, 61.39, 304.12°)
OKLaboklab(27.64% 0.0088 -0.147)
OKLCHoklch(27.64% 0.147 273.4)
XYZxyz(3.4231, 1.7854, 14.9130)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18136E #696E13
analogous
#133B6E #18136E #46136E
triadic
#18136E #6E1813 #136E18
tetradic
#18136E #6E133B #696E13 #136E46
square
#18136E #6E133B #696E13 #136E46
split-complementary
#18136E #6E4613 #3B6E13
monochromatic
#06051A #0D0A3A #18136E #231CA2 #2F25D6

Accessibility & contrast

On white

15.47
#18136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#18136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18136E
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18136E#FFFFFF#000000##FFFFFF
##18136E1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18136e;
/* rgb */ color: rgb(24, 19, 110);
/* oklch */ color: oklch(27.6% 0.147 273.4);
Tailwind
colors: {
  custom: {
    50: '#665399',
    500: '#18136e',
    950: '#000000',
  },
}
SCSS
$custom: #18136e;
$custom-light: #665399;
$custom-dark: #000000;
JSON
{
  "hex": "#18136e",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 243.297,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2764,
    "c": 0.1473,
    "h": 273.4
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#18136E
secondary
#9FA538
accent
#ED3AE3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #18136E

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

Preview Lab → · Contrast checker → · Palette generator →

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