#1A1B97#1A1B97

#1A1B97 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.190 H 269.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#1A1B97
RGBrgb(26, 27, 151)
HSLhsl(240, 71%, 35%)
HSVhsv(240, 83%, 59%)
CMYKcmyk(82.8%, 82.1%, 0%, 40.8%)
CIE-LABlab(20.97, 44.08, -65.76)
CIE-LCHlch(20.97, 79.17, 303.84°)
OKLaboklab(33.78% -0.0006 -0.1904)
OKLCHoklch(33.78% 0.19 269.8)
XYZxyz(6.4019, 3.2371, 29.5596)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1B97 #97961A
analogous
#1A5A97 #1A1B97 #581A97
triadic
#1A1B97 #971A1B #1B971A
tetradic
#1A1B97 #971A5A #97961A #1A9758
square
#1A1B97 #971A5A #97961A #1A9758
split-complementary
#1A1B97 #97581A #5A971A
monochromatic
#08082F #111263 #1A1B97 #2324CB #4B4DE0

Accessibility & contrast

On white

12.75
#1A1B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A1B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1B97
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1B97#FFFFFF#000000##FFFFFF
##1A1B971.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002C95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a1b97;
/* rgb */ color: rgb(26, 27, 151);
/* oklch */ color: oklch(33.8% 0.190 269.8);
Tailwind
colors: {
  custom: {
    50: '#715bb7',
    500: '#1a1b97',
    950: '#000000',
  },
}
SCSS
$custom: #1a1b97;
$custom-light: #715bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1b97",
  "rgb": {
    "r": 26,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 239.52,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3378,
    "c": 0.19042,
    "h": 269.8
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#1A1B97
secondary
#C2C14B
accent
#EC3AED
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1B97

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

Preview Lab → · Contrast checker → · Palette generator →

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