#1B1D89#1B1D89

#1B1D89 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.171 H 270.9°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#1B1D89
RGBrgb(27, 29, 137)
HSLhsl(239, 67%, 32%)
HSVhsv(239, 80%, 54%)
CMYKcmyk(80.3%, 78.8%, 0%, 46.3%)
CIE-LABlab(19.71, 38.36, -59.14)
CIE-LCHlch(19.71, 70.49, 302.96°)
OKLaboklab(32.42% 0.0028 -0.1713)
OKLCHoklch(32.42% 0.171 270.9)
XYZxyz(5.4052, 2.9173, 23.9403)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1D89 #89871B
analogous
#1B5489 #1B1D89 #501B89
triadic
#1B1D89 #891B1D #1D891B
tetradic
#1B1D89 #891B54 #89871B #1B8950
square
#1B1D89 #891B54 #89871B #1B8950
split-complementary
#1B1D89 #89501B #54891B
monochromatic
#070723 #111256 #1B1D89 #2528BC #4447DA

Accessibility & contrast

On white

13.26
#1B1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1D89
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1D89#FFFFFF#000000##FFFFFF
##1B1D891.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b1d89;
/* rgb */ color: rgb(27, 29, 137);
/* oklch */ color: oklch(32.4% 0.171 270.9);
Tailwind
colors: {
  custom: {
    50: '#6d5bad',
    500: '#1b1d89',
    950: '#000000',
  },
}
SCSS
$custom: #1b1d89;
$custom-light: #6d5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1d89",
  "rgb": {
    "r": 27,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 238.909,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32423,
    "c": 0.17128,
    "h": 270.9
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#1B1D89
secondary
#BCB944
accent
#E73EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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