#1B1D91#1B1D91

#1B1D91 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.181 H 270.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#1B1D91
RGBrgb(27, 29, 145)
HSLhsl(239, 69%, 34%)
HSVhsv(239, 81%, 57%)
CMYKcmyk(81.4%, 80%, 0%, 43.1%)
CIE-LABlab(20.66, 41.09, -62.57)
CIE-LCHlch(20.66, 74.86, 303.30°)
OKLaboklab(33.36% 0.0012 -0.1812)
OKLCHoklch(33.36% 0.181 270.4)
XYZxyz(6.0005, 3.1554, 27.0754)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1D91 #918F1B
analogous
#1B5891 #1B1D91 #541B91
triadic
#1B1D91 #911B1D #1D911B
tetradic
#1B1D91 #911B58 #918F1B #1B9154
square
#1B1D91 #911B58 #918F1B #1B9154
split-complementary
#1B1D91 #91541B #58911B
monochromatic
#08082A #11135D #1B1D91 #2527C5 #494CDD

Accessibility & contrast

On white

12.87
#1B1D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B1D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1D91
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1D91#FFFFFF#000000##FFFFFF
##1B1D911.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003894
Deuteranopia (green-blind)
#002C8F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b1d91;
/* rgb */ color: rgb(27, 29, 145);
/* oklch */ color: oklch(33.4% 0.181 270.4);
Tailwind
colors: {
  custom: {
    50: '#6f5bb3',
    500: '#1b1d91',
    950: '#000000',
  },
}
SCSS
$custom: #1b1d91;
$custom-light: #6f5bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1d91",
  "rgb": {
    "r": 27,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 238.983,
    "s": 68.605,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33364,
    "c": 0.18119,
    "h": 270.4
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#1B1D91
secondary
#BFBD49
accent
#E83CEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1B1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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