#1B1081#1B1081

#1B1081 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.172 H 272.9°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#1B1081
RGBrgb(27, 16, 129)
HSLhsl(246, 78%, 28%)
HSVhsv(246, 88%, 51%)
CMYKcmyk(79.1%, 87.6%, 0%, 49.4%)
CIE-LABlab(16.44, 42.34, -59.51)
CIE-LCHlch(16.44, 73.04, 305.43°)
OKLaboklab(29.87% 0.0086 -0.1721)
OKLCHoklch(29.87% 0.172 272.9)
XYZxyz(4.5984, 2.1881, 20.9446)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1081 #768110
analogous
#103D81 #1B1081 #531081
triadic
#1B1081 #811B10 #10811B
tetradic
#1B1081 #81103D #768110 #108153
square
#1B1081 #81103D #768110 #108153
split-complementary
#1B1081 #815310 #3D8110
monochromatic
#06031B #10094B #1B1081 #2617B7 #3A27E4

Accessibility & contrast

On white

14.61
#1B1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1B1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1081
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1081#FFFFFF#000000##FFFFFF
##1B10811.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00237F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1b1081;
/* rgb */ color: rgb(27, 16, 129);
/* oklch */ color: oklch(29.9% 0.172 272.9);
Tailwind
colors: {
  custom: {
    50: '#6c53a7',
    500: '#1b1081',
    950: '#000000',
  },
}
SCSS
$custom: #1b1081;
$custom-light: #6c53a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1081",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 245.841,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29865,
    "c": 0.17231,
    "h": 272.9
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#1B1081
secondary
#AAB736
accent
#F433E2
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1B1081

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

Preview Lab → · Contrast checker → · Palette generator →

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