#1B1A89#1B1A89

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

Color values

HEX#1B1A89
RGBrgb(27, 26, 137)
HSLhsl(241, 68%, 32%)
HSVhsv(241, 81%, 54%)
CMYKcmyk(80.3%, 81%, 0%, 46.3%)
CIE-LABlab(19.13, 40.03, -60.11)
CIE-LCHlch(19.13, 72.21, 303.66°)
OKLaboklab(32.02% 0.0038 -0.174)
OKLCHoklch(32.02% 0.174 271.2)
XYZxyz(5.3352, 2.7773, 23.9170)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1A89 #88891A
analogous
#1A5089 #1B1A89 #531A89
triadic
#1B1A89 #891B1A #1A891B
tetradic
#1B1A89 #891A50 #88891A #1A8953
square
#1B1A89 #891A50 #88891A #1A8953
split-complementary
#1B1A89 #89531A #50891A
monochromatic
#070622 #111056 #1B1A89 #2524BC #4442DB

Accessibility & contrast

On white

13.50
#1B1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1A89
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1A89#FFFFFF#000000##FFFFFF
##1B1A891.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1a89;
/* rgb */ color: rgb(27, 26, 137);
/* oklch */ color: oklch(32.0% 0.174 271.2);
Tailwind
colors: {
  custom: {
    50: '#6d59ad',
    500: '#1b1a89',
    950: '#000000',
  },
}
SCSS
$custom: #1b1a89;
$custom-light: #6d59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1a89",
  "rgb": {
    "r": 27,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 240.541,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32015,
    "c": 0.17405,
    "h": 271.2
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#1B1A89
secondary
#BBBC43
accent
#EB3DE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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