#1B1E85#1B1E85

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

Color values

HEX#1B1E85
RGBrgb(27, 30, 133)
HSLhsl(238, 66%, 31%)
HSVhsv(238, 80%, 52%)
CMYKcmyk(79.7%, 77.4%, 0%, 47.8%)
CIE-LABlab(19.45, 36.38, -57.06)
CIE-LCHlch(19.45, 67.67, 302.52°)
OKLaboklab(32.1% 0.0031 -0.1652)
OKLCHoklch(32.1% 0.165 271.1)
XYZxyz(5.1485, 2.8544, 22.4654)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1E85 #85821B
analogous
#1B5385 #1B1E85 #4D1B85
triadic
#1B1E85 #851B1E #1E851B
tetradic
#1B1E85 #851B53 #85821B #1B854D
square
#1B1E85 #851B53 #85821B #1B854D
split-complementary
#1B1E85 #854D1B #53851B
monochromatic
#06071F #111352 #1B1E85 #2529B8 #4246D9

Accessibility & contrast

On white

13.37
#1B1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1B1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1E85
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1E85#FFFFFF#000000##FFFFFF
##1B1E851.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b1e85;
/* rgb */ color: rgb(27, 30, 133);
/* oklch */ color: oklch(32.1% 0.165 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c5baa',
    500: '#1b1e85',
    950: '#000000',
  },
}
SCSS
$custom: #1b1e85;
$custom-light: #6c5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1e85",
  "rgb": {
    "r": 27,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 238.302,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32104,
    "c": 0.16525,
    "h": 271.1
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#1B1E85
secondary
#B8B544
accent
#E43FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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