#1B1D85#1B1D85

#1B1D85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.166 H 271.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#1B1D85
RGBrgb(27, 29, 133)
HSLhsl(239, 66%, 31%)
HSVhsv(239, 80%, 52%)
CMYKcmyk(79.7%, 78.2%, 0%, 47.8%)
CIE-LABlab(19.24, 36.97, -57.40)
CIE-LCHlch(19.24, 68.27, 302.78°)
OKLaboklab(31.96% 0.0035 -0.1662)
OKLCHoklch(31.96% 0.166 271.2)
XYZxyz(5.1236, 2.8046, 22.4571)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1D85 #85831B
analogous
#1B5285 #1B1D85 #4E1B85
triadic
#1B1D85 #851B1D #1D851B
tetradic
#1B1D85 #851B52 #85831B #1B854E
square
#1B1D85 #851B52 #85831B #1B854E
split-complementary
#1B1D85 #854E1B #52851B
monochromatic
#06071F #111252 #1B1D85 #2528B8 #4245D9

Accessibility & contrast

On white

13.45
#1B1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1D85
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1D85#FFFFFF#000000##FFFFFF
##1B1D851.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1d85;
/* rgb */ color: rgb(27, 29, 133);
/* oklch */ color: oklch(32.0% 0.166 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c5baa',
    500: '#1b1d85',
    950: '#000000',
  },
}
SCSS
$custom: #1b1d85;
$custom-light: #6c5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1d85",
  "rgb": {
    "r": 27,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 238.868,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31957,
    "c": 0.16624,
    "h": 271.2
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#1B1D85
secondary
#B8B644
accent
#E63FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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