#1A1B86#1A1B86

#1A1B86 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.170 H 271.0°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1A1B86
RGBrgb(26, 27, 134)
HSLhsl(239, 68%, 31%)
HSVhsv(239, 81%, 53%)
CMYKcmyk(80.6%, 79.9%, 0%, 47.5%)
CIE-LABlab(18.90, 38.38, -58.60)
CIE-LCHlch(18.90, 70.05, 303.23°)
OKLaboklab(31.74% 0.0029 -0.1697)
OKLCHoklch(31.74% 0.17 271)
XYZxyz(5.1196, 2.7241, 22.8056)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B86 #86851A
analogous
#1A5186 #1A1B86 #4F1A86
triadic
#1A1B86 #861A1B #1B861A
tetradic
#1A1B86 #861A51 #86851A #1A864F
square
#1A1B86 #861A51 #86851A #1A864F
split-complementary
#1A1B86 #864F1A #51861A
monochromatic
#06061F #101153 #1A1B86 #2425B9 #4042DA

Accessibility & contrast

On white

13.59
#1A1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1B86
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B86#FFFFFF#000000##FFFFFF
##1A1B861.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1b86;
/* rgb */ color: rgb(26, 27, 134);
/* oklch */ color: oklch(31.7% 0.170 271.0);
Tailwind
colors: {
  custom: {
    50: '#6c59aa',
    500: '#1a1b86',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b86;
$custom-light: #6c59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b86",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 239.444,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31736,
    "c": 0.16969,
    "h": 271
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#1A1B86
secondary
#B9B842
accent
#E93DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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