#181A86#181A86

#181A86 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.171 H 270.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#181A86
RGBrgb(24, 26, 134)
HSLhsl(239, 70%, 31%)
HSVhsv(239, 82%, 53%)
CMYKcmyk(82.1%, 80.6%, 0%, 47.5%)
CIE-LABlab(18.60, 38.81, -59.10)
CIE-LCHlch(18.60, 70.70, 303.29°)
OKLaboklab(31.49% 0.0009 -0.1712)
OKLCHoklch(31.49% 0.171 270.3)
XYZxyz(5.0477, 2.6536, 22.7958)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A86 #868418
analogous
#185186 #181A86 #4D1886
triadic
#181A86 #86181A #1A8618
tetradic
#181A86 #861851 #868418 #18864D
square
#181A86 #861851 #868418 #18864D
split-complementary
#181A86 #864D18 #518618
monochromatic
#05061E #0F1052 #181A86 #2124BA #3C3FDC

Accessibility & contrast

On white

13.72
#181A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#181A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A86
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A86#FFFFFF#000000##FFFFFF
##181A861.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #181a86;
/* rgb */ color: rgb(24, 26, 134);
/* oklch */ color: oklch(31.5% 0.171 270.3);
Tailwind
colors: {
  custom: {
    50: '#6c59aa',
    500: '#181a86',
    950: '#000000',
  },
}
SCSS
$custom: #181a86;
$custom-light: #6c59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#181a86",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 238.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31493,
    "c": 0.17116,
    "h": 270.3
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#181A86
secondary
#BAB840
accent
#E93BEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #181A86

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

Preview Lab → · Contrast checker → · Palette generator →

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