#1B1D86#1B1D86

#1B1D86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.168 H 271.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#1B1D86
RGBrgb(27, 29, 134)
HSLhsl(239, 66%, 32%)
HSVhsv(239, 80%, 53%)
CMYKcmyk(79.9%, 78.4%, 0%, 47.5%)
CIE-LABlab(19.36, 37.31, -57.84)
CIE-LCHlch(19.36, 68.83, 302.83°)
OKLaboklab(32.07% 0.0033 -0.1675)
OKLCHoklch(32.07% 0.168 271.1)
XYZxyz(5.1930, 2.8324, 22.8227)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1D86 #86841B
analogous
#1B5386 #1B1D86 #4F1B86
triadic
#1B1D86 #861B1D #1D861B
tetradic
#1B1D86 #861B53 #86841B #1B864F
square
#1B1D86 #861B53 #86841B #1B864F
split-complementary
#1B1D86 #864F1B #53861B
monochromatic
#060720 #111253 #1B1D86 #2528B9 #4245D9

Accessibility & contrast

On white

13.40
#1B1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1D86
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1D86#FFFFFF#000000##FFFFFF
##1B1D861.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b1d86;
/* rgb */ color: rgb(27, 29, 134);
/* oklch */ color: oklch(32.1% 0.168 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c5baa',
    500: '#1b1d86',
    950: '#000000',
  },
}
SCSS
$custom: #1b1d86;
$custom-light: #6c5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1d86",
  "rgb": {
    "r": 27,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 238.879,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32073,
    "c": 0.1675,
    "h": 271.1
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#1B1D86
secondary
#B9B744
accent
#E63EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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