#1B1B85#1B1B85

#1B1B85 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.168 H 271.5°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#1B1B85
RGBrgb(27, 27, 133)
HSLhsl(240, 66%, 31%)
HSVhsv(240, 80%, 52%)
CMYKcmyk(79.7%, 79.7%, 0%, 47.8%)
CIE-LABlab(18.84, 38.11, -58.07)
CIE-LCHlch(18.84, 69.46, 303.28°)
OKLaboklab(31.67% 0.0043 -0.1681)
OKLCHoklch(31.67% 0.168 271.5)
XYZxyz(5.0761, 2.7098, 22.4413)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1B85 #85851B
analogous
#1B5085 #1B1B85 #501B85
triadic
#1B1B85 #851B1B #1B851B
tetradic
#1B1B85 #851B50 #85851B #1B8550
square
#1B1B85 #851B50 #85851B #1B8550
split-complementary
#1B1B85 #85501B #50851B
monochromatic
#06061F #111152 #1B1B85 #2525B8 #4242D9

Accessibility & contrast

On white

13.62
#1B1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1B1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1B85
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1B85#FFFFFF#000000##FFFFFF
##1B1B851.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b1b85;
/* rgb */ color: rgb(27, 27, 133);
/* oklch */ color: oklch(31.7% 0.168 271.5);
Tailwind
colors: {
  custom: {
    50: '#6c59aa',
    500: '#1b1b85',
    950: '#000000',
  },
}
SCSS
$custom: #1b1b85;
$custom-light: #6c59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1b85",
  "rgb": {
    "r": 27,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 240,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31674,
    "c": 0.16816,
    "h": 271.5
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#1B1B85
secondary
#B8B844
accent
#E93FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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