#1B1A86#1B1A86

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

Color values

HEX#1B1A86
RGBrgb(27, 26, 134)
HSLhsl(241, 68%, 31%)
HSVhsv(241, 81%, 53%)
CMYKcmyk(79.9%, 80.6%, 0%, 47.5%)
CIE-LABlab(18.77, 39.01, -58.82)
CIE-LCHlch(18.77, 70.58, 303.55°)
OKLaboklab(31.66% 0.0044 -0.1703)
OKLCHoklch(31.66% 0.17 271.5)
XYZxyz(5.1230, 2.6925, 22.7993)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1A86 #85861A
analogous
#1A4F86 #1B1A86 #511A86
triadic
#1B1A86 #861B1A #1A861B
tetradic
#1B1A86 #861A4F #85861A #1A8651
square
#1B1A86 #861A4F #85861A #1A8651
split-complementary
#1B1A86 #86511A #4F861A
monochromatic
#06061F #111053 #1B1A86 #2524B9 #4240DA

Accessibility & contrast

On white

13.65
#1B1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1B1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1A86
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1A86#FFFFFF#000000##FFFFFF
##1B1A861.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1a86;
/* rgb */ color: rgb(27, 26, 134);
/* oklch */ color: oklch(31.7% 0.170 271.5);
Tailwind
colors: {
  custom: {
    50: '#6c59aa',
    500: '#1b1a86',
    950: '#000000',
  },
}
SCSS
$custom: #1b1a86;
$custom-light: #6c59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1a86",
  "rgb": {
    "r": 27,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 240.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31657,
    "c": 0.17034,
    "h": 271.5
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#1B1A86
secondary
#B8B942
accent
#EA3DE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1B1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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