#1B1A93#1B1A93

#1B1A93 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.186 H 270.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#1B1A93
RGBrgb(27, 26, 147)
HSLhsl(240, 70%, 34%)
HSVhsv(240, 82%, 58%)
CMYKcmyk(81.6%, 82.3%, 0%, 42.4%)
CIE-LABlab(20.35, 43.34, -64.31)
CIE-LCHlch(20.35, 77.55, 303.98°)
OKLaboklab(33.22% 0.0016 -0.1862)
OKLCHoklch(33.22% 0.186 270.5)
XYZxyz(6.0861, 3.0777, 27.8714)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1A93 #92931A
analogous
#1A5693 #1B1A93 #581A93
triadic
#1B1A93 #931B1A #1A931B
tetradic
#1B1A93 #931A56 #92931A #1A9358
square
#1B1A93 #931A56 #92931A #1A9358
split-complementary
#1B1A93 #93581A #56931A
monochromatic
#08082B #11115F #1B1A93 #2523C7 #4A49DF

Accessibility & contrast

On white

13.00
#1B1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1B1A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1A93
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1A93#FFFFFF#000000##FFFFFF
##1B1A931.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002B91
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b1a93;
/* rgb */ color: rgb(27, 26, 147);
/* oklch */ color: oklch(33.2% 0.186 270.5);
Tailwind
colors: {
  custom: {
    50: '#705ab4',
    500: '#1b1a93',
    950: '#000000',
  },
}
SCSS
$custom: #1b1a93;
$custom-light: #705ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1a93",
  "rgb": {
    "r": 27,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 240.496,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33223,
    "c": 0.1862,
    "h": 270.5
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#1B1A93
secondary
#BFC048
accent
#ED3BEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1B1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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