#1A1E86#1A1E86

#1A1E86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.167 H 270.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#1A1E86
RGBrgb(26, 30, 134)
HSLhsl(238, 68%, 31%)
HSVhsv(238, 81%, 53%)
CMYKcmyk(80.6%, 77.6%, 0%, 47.5%)
CIE-LABlab(19.51, 36.65, -57.59)
CIE-LCHlch(19.51, 68.26, 302.47°)
OKLaboklab(32.17% 0.0018 -0.1668)
OKLCHoklch(32.17% 0.167 270.6)
XYZxyz(5.1919, 2.8688, 22.8297)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E86 #86821A
analogous
#1A5486 #1A1E86 #4C1A86
triadic
#1A1E86 #861A1E #1E861A
tetradic
#1A1E86 #861A54 #86821A #1A864C
square
#1A1E86 #861A54 #86821A #1A864C
split-complementary
#1A1E86 #864C1A #54861A
monochromatic
#06071F #101353 #1A1E86 #2429B9 #4046DA

Accessibility & contrast

On white

13.34
#1A1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E86
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E86#FFFFFF#000000##FFFFFF
##1A1E861.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a1e86;
/* rgb */ color: rgb(26, 30, 134);
/* oklch */ color: oklch(32.2% 0.167 270.6);
Tailwind
colors: {
  custom: {
    50: '#6c5baa',
    500: '#1a1e86',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e86;
$custom-light: #6c5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e86",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 237.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32165,
    "c": 0.16679,
    "h": 270.6
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#1A1E86
secondary
#B9B542
accent
#E43DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1E86

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

Preview Lab → · Contrast checker → · Palette generator →

#1A1E86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva