#18136F#18136F

#18136F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.149 H 273.3°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#18136F
RGBrgb(24, 19, 111)
HSLhsl(243, 71%, 25%)
HSVhsv(243, 83%, 44%)
CMYKcmyk(78.4%, 82.9%, 0%, 56.5%)
CIE-LABlab(14.44, 34.78, -51.27)
CIE-LCHlch(14.44, 61.95, 304.15°)
OKLaboklab(27.76% 0.0085 -0.1483)
OKLCHoklch(27.76% 0.149 273.3)
XYZxyz(3.4778, 1.8073, 15.2014)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18136F #6A6F13
analogous
#133C6F #18136F #46136F
triadic
#18136F #6F1813 #136F18
tetradic
#18136F #6F133C #6A6F13 #136F46
square
#18136F #6F133C #6A6F13 #136F46
split-complementary
#18136F #6F4613 #3C6F13
monochromatic
#06041A #0D0A3B #18136F #231CA3 #2F25D8

Accessibility & contrast

On white

15.42
#18136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18136F
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18136F#FFFFFF#000000##FFFFFF
##18136F1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #18136f;
/* rgb */ color: rgb(24, 19, 111);
/* oklch */ color: oklch(27.8% 0.149 273.3);
Tailwind
colors: {
  custom: {
    50: '#665399',
    500: '#18136f',
    950: '#000000',
  },
}
SCSS
$custom: #18136f;
$custom-light: #665399;
$custom-dark: #000000;
JSON
{
  "hex": "#18136f",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 243.261,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27762,
    "c": 0.14858,
    "h": 273.3
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#18136F
secondary
#A0A638
accent
#EE3AE4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #18136F

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

Preview Lab → · Contrast checker → · Palette generator →

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