#1B1E88#1B1E88

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

Color values

HEX#1B1E88
RGBrgb(27, 30, 136)
HSLhsl(238, 67%, 32%)
HSVhsv(238, 80%, 53%)
CMYKcmyk(80.1%, 77.9%, 0%, 46.7%)
CIE-LABlab(19.80, 37.43, -58.37)
CIE-LCHlch(19.80, 69.34, 302.67°)
OKLaboklab(32.45% 0.0026 -0.169)
OKLCHoklch(32.45% 0.169 270.9)
XYZxyz(5.3587, 2.9385, 23.5726)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1E88 #88851B
analogous
#1B5488 #1B1E88 #4F1B88
triadic
#1B1E88 #881B1E #1E881B
tetradic
#1B1E88 #881B54 #88851B #1B884F
square
#1B1E88 #881B54 #88851B #1B884F
split-complementary
#1B1E88 #884F1B #54881B
monochromatic
#070722 #111355 #1B1E88 #2529BB #4448DA

Accessibility & contrast

On white

13.23
#1B1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1E88
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1E88#FFFFFF#000000##FFFFFF
##1B1E881.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b1e88;
/* rgb */ color: rgb(27, 30, 136);
/* oklch */ color: oklch(32.5% 0.169 270.9);
Tailwind
colors: {
  custom: {
    50: '#6d5bac',
    500: '#1b1e88',
    950: '#000000',
  },
}
SCSS
$custom: #1b1e88;
$custom-light: #6d5bac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1e88",
  "rgb": {
    "r": 27,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 238.349,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3245,
    "c": 0.16906,
    "h": 270.9
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#1B1E88
secondary
#BBB844
accent
#E53EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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