#1B1C86#1B1C86

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

Color values

HEX#1B1C86
RGBrgb(27, 28, 134)
HSLhsl(239, 66%, 32%)
HSVhsv(239, 80%, 53%)
CMYKcmyk(79.9%, 79.1%, 0%, 47.5%)
CIE-LABlab(19.16, 37.89, -58.17)
CIE-LCHlch(19.16, 69.42, 303.08°)
OKLaboklab(31.93% 0.0037 -0.1684)
OKLCHoklch(31.93% 0.168 271.3)
XYZxyz(5.1689, 2.7842, 22.8146)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1C86 #86851B
analogous
#1B5286 #1B1C86 #501B86
triadic
#1B1C86 #861B1C #1C861B
tetradic
#1B1C86 #861B52 #86851B #1B8650
square
#1B1C86 #861B52 #86851B #1B8650
split-complementary
#1B1C86 #86501B #52861B
monochromatic
#060720 #111153 #1B1C86 #2527B9 #4244D9

Accessibility & contrast

On white

13.49
#1B1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1C86
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1C86#FFFFFF#000000##FFFFFF
##1B1C861.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1c86;
/* rgb */ color: rgb(27, 28, 134);
/* oklch */ color: oklch(31.9% 0.168 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c5aaa',
    500: '#1b1c86',
    950: '#000000',
  },
}
SCSS
$custom: #1b1c86;
$custom-light: #6c5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1c86",
  "rgb": {
    "r": 27,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 239.439,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.16847,
    "h": 271.3
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#1B1C86
secondary
#B9B844
accent
#E83EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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