#181686#181686

#181686 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.175 H 270.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#181686
RGBrgb(24, 22, 134)
HSLhsl(241, 72%, 31%)
HSVhsv(241, 84%, 53%)
CMYKcmyk(82.1%, 83.6%, 0%, 47.5%)
CIE-LABlab(17.87, 40.93, -60.32)
CIE-LCHlch(17.87, 72.89, 304.16°)
OKLaboklab(30.98% 0.002 -0.1746)
OKLCHoklch(30.98% 0.175 270.7)
XYZxyz(4.9652, 2.4887, 22.7683)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181686 #848616
analogous
#164C86 #181686 #501686
triadic
#181686 #861816 #168618
tetradic
#181686 #86164C #848616 #168650
square
#181686 #86164C #848616 #168650
split-complementary
#181686 #865016 #4C8616
monochromatic
#05051D #0F0D51 #181686 #211FBB #3B38DE

Accessibility & contrast

On white

14.02
#181686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#181686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181686
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181686#FFFFFF#000000##FFFFFF
##1816861.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003189
Deuteranopia (green-blind)
#002684
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #181686;
/* rgb */ color: rgb(24, 22, 134);
/* oklch */ color: oklch(31.0% 0.175 270.7);
Tailwind
colors: {
  custom: {
    50: '#6c56ab',
    500: '#181686',
    950: '#000000',
  },
}
SCSS
$custom: #181686;
$custom-light: #6c56ab;
$custom-dark: #000000;
JSON
{
  "hex": "#181686",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 241.071,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.30982,
    "c": 0.17462,
    "h": 270.7
  },
  "luminance": 0.02489
}

Semantic roles & 50–950 ramp

primary
#181686
secondary
#B8BA3E
accent
#EF39EB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #181686

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

Preview Lab → · Contrast checker → · Palette generator →

#181686 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva