#181E86#181E86

#181E86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.167 H 269.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#181E86
RGBrgb(24, 30, 134)
HSLhsl(237, 70%, 31%)
HSVhsv(237, 82%, 53%)
CMYKcmyk(82.1%, 77.6%, 0%, 47.5%)
CIE-LABlab(19.41, 36.50, -57.77)
CIE-LCHlch(19.41, 68.33, 302.29°)
OKLaboklab(32.06% -0.0004 -0.1673)
OKLCHoklch(32.06% 0.167 269.9)
XYZxyz(5.1426, 2.8434, 22.8274)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E86 #868018
analogous
#185586 #181E86 #491886
triadic
#181E86 #86181E #1E8618
tetradic
#181E86 #861855 #868018 #188649
square
#181E86 #861855 #868018 #188649
split-complementary
#181E86 #864918 #558618
monochromatic
#05071E #0F1252 #181E86 #212ABA #3C45DC

Accessibility & contrast

On white

13.39
#181E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#181E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E86
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E86#FFFFFF#000000##FFFFFF
##181E861.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #181e86;
/* rgb */ color: rgb(24, 30, 134);
/* oklch */ color: oklch(32.1% 0.167 269.9);
Tailwind
colors: {
  custom: {
    50: '#6b5baa',
    500: '#181e86',
    950: '#000000',
  },
}
SCSS
$custom: #181e86;
$custom-light: #6b5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#181e86",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 236.727,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32062,
    "c": 0.16734,
    "h": 269.9
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#181E86
secondary
#BAB340
accent
#E33BEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #181E86

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

Preview Lab → · Contrast checker → · Palette generator →

#181E86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva