#1B1B89#1B1B89

#1B1B89 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.173 H 271.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#1B1B89
RGBrgb(27, 27, 137)
HSLhsl(240, 67%, 32%)
HSVhsv(240, 80%, 54%)
CMYKcmyk(80.3%, 80.3%, 0%, 46.3%)
CIE-LABlab(19.32, 39.48, -59.79)
CIE-LCHlch(19.32, 71.65, 303.44°)
OKLaboklab(32.15% 0.0034 -0.1731)
OKLCHoklch(32.15% 0.173 271.1)
XYZxyz(5.3578, 2.8224, 23.9245)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1B89 #89891B
analogous
#1B5289 #1B1B89 #521B89
triadic
#1B1B89 #891B1B #1B891B
tetradic
#1B1B89 #891B52 #89891B #1B8952
square
#1B1B89 #891B52 #89891B #1B8952
split-complementary
#1B1B89 #89521B #52891B
monochromatic
#070723 #111156 #1B1B89 #2525BC #4444DA

Accessibility & contrast

On white

13.42
#1B1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1B89
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1B89#FFFFFF#000000##FFFFFF
##1B1B891.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b1b89;
/* rgb */ color: rgb(27, 27, 137);
/* oklch */ color: oklch(32.1% 0.173 271.1);
Tailwind
colors: {
  custom: {
    50: '#6d5aad',
    500: '#1b1b89',
    950: '#000000',
  },
}
SCSS
$custom: #1b1b89;
$custom-light: #6d5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1b89",
  "rgb": {
    "r": 27,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32147,
    "c": 0.17315,
    "h": 271.1
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#1B1B89
secondary
#BCBC44
accent
#EA3EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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