#1A1B93#1A1B93

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

Color values

HEX#1A1B93
RGBrgb(26, 27, 147)
HSLhsl(240, 70%, 34%)
HSVhsv(240, 82%, 58%)
CMYKcmyk(82.3%, 81.6%, 0%, 42.4%)
CIE-LABlab(20.48, 42.77, -64.11)
CIE-LCHlch(20.48, 77.06, 303.71°)
OKLaboklab(33.3% 0.0002 -0.1856)
OKLCHoklch(33.3% 0.186 270.1)
XYZxyz(6.0826, 3.1094, 27.8777)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B93 #93921A
analogous
#1A5893 #1A1B93 #561A93
triadic
#1A1B93 #931A1B #1B931A
tetradic
#1A1B93 #931A58 #93921A #1A9356
square
#1A1B93 #931A58 #93921A #1A9356
split-complementary
#1A1B93 #93561A #58931A
monochromatic
#08082B #11115F #1A1B93 #2325C7 #494ADF

Accessibility & contrast

On white

12.95
#1A1B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1B93
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B93#FFFFFF#000000##FFFFFF
##1A1B931.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1b93;
/* rgb */ color: rgb(26, 27, 147);
/* oklch */ color: oklch(33.3% 0.186 270.1);
Tailwind
colors: {
  custom: {
    50: '#705ab4',
    500: '#1a1b93',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b93;
$custom-light: #705ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b93",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 239.504,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33295,
    "c": 0.18563,
    "h": 270.1
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#1A1B93
secondary
#C0BF48
accent
#EB3BED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1B93

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

Preview Lab → · Contrast checker → · Palette generator →

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