#1B1B86#1B1B86

#1B1B86 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.169 H 271.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1B1B86
RGBrgb(27, 27, 134)
HSLhsl(240, 66%, 32%)
HSVhsv(240, 80%, 53%)
CMYKcmyk(79.9%, 79.9%, 0%, 47.5%)
CIE-LABlab(18.96, 38.46, -58.50)
CIE-LCHlch(18.96, 70.01, 303.32°)
OKLaboklab(31.79% 0.0041 -0.1694)
OKLCHoklch(31.79% 0.169 271.4)
XYZxyz(5.1455, 2.7375, 22.8068)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1B86 #86861B
analogous
#1B5186 #1B1B86 #511B86
triadic
#1B1B86 #861B1B #1B861B
tetradic
#1B1B86 #861B51 #86861B #1B8651
square
#1B1B86 #861B51 #86861B #1B8651
split-complementary
#1B1B86 #86511B #51861B
monochromatic
#060620 #111153 #1B1B86 #2525B9 #4242D9

Accessibility & contrast

On white

13.57
#1B1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1B86
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1B86#FFFFFF#000000##FFFFFF
##1B1B861.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1b86;
/* rgb */ color: rgb(27, 27, 134);
/* oklch */ color: oklch(31.8% 0.169 271.4);
Tailwind
colors: {
  custom: {
    50: '#6c59aa',
    500: '#1b1b86',
    950: '#000000',
  },
}
SCSS
$custom: #1b1b86;
$custom-light: #6c59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1b86",
  "rgb": {
    "r": 27,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31792,
    "c": 0.16942,
    "h": 271.4
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#1B1B86
secondary
#B9B944
accent
#E93EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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