#1B1E86#1B1E86

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

Color values

HEX#1B1E86
RGBrgb(27, 30, 134)
HSLhsl(238, 66%, 32%)
HSVhsv(238, 80%, 53%)
CMYKcmyk(79.9%, 77.6%, 0%, 47.5%)
CIE-LABlab(19.57, 36.73, -57.50)
CIE-LCHlch(19.57, 68.23, 302.57°)
OKLaboklab(32.22% 0.003 -0.1665)
OKLCHoklch(32.22% 0.167 271)
XYZxyz(5.2179, 2.8822, 22.8310)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1E86 #86831B
analogous
#1B5486 #1B1E86 #4E1B86
triadic
#1B1E86 #861B1E #1E861B
tetradic
#1B1E86 #861B54 #86831B #1B864E
square
#1B1E86 #861B54 #86831B #1B864E
split-complementary
#1B1E86 #864E1B #54861B
monochromatic
#060720 #111353 #1B1E86 #2529B9 #4247D9

Accessibility & contrast

On white

13.32
#1B1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1E86
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1E86#FFFFFF#000000##FFFFFF
##1B1E861.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.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: #1b1e86;
/* rgb */ color: rgb(27, 30, 134);
/* oklch */ color: oklch(32.2% 0.167 271.0);
Tailwind
colors: {
  custom: {
    50: '#6c5baa',
    500: '#1b1e86',
    950: '#000000',
  },
}
SCSS
$custom: #1b1e86;
$custom-light: #6c5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1e86",
  "rgb": {
    "r": 27,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 238.318,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32219,
    "c": 0.16652,
    "h": 271
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#1B1E86
secondary
#B9B644
accent
#E53EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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