#1A1A97#1A1A97

#1A1A97 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.191 H 269.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1A1A97
RGBrgb(26, 26, 151)
HSLhsl(240, 71%, 35%)
HSVhsv(240, 83%, 59%)
CMYKcmyk(82.8%, 82.8%, 0%, 40.8%)
CIE-LABlab(20.80, 44.59, -66.05)
CIE-LCHlch(20.80, 79.69, 304.02°)
OKLaboklab(33.66% -0.0004 -0.1912)
OKLCHoklch(33.66% 0.191 269.9)
XYZxyz(6.3794, 3.1920, 29.5521)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1A97 #97971A
analogous
#1A5997 #1A1A97 #591A97
triadic
#1A1A97 #971A1A #1A971A
tetradic
#1A1A97 #971A59 #97971A #1A9759
square
#1A1A97 #971A59 #97971A #1A9759
split-complementary
#1A1A97 #97591A #59971A
monochromatic
#08082F #111163 #1A1A97 #2323CB #4B4BE0

Accessibility & contrast

On white

12.82
#1A1A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A1A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1A97
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1A97#FFFFFF#000000##FFFFFF
##1A1A971.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1a97;
/* rgb */ color: rgb(26, 26, 151);
/* oklch */ color: oklch(33.7% 0.191 269.9);
Tailwind
colors: {
  custom: {
    50: '#715ab7',
    500: '#1a1a97',
    950: '#000000',
  },
}
SCSS
$custom: #1a1a97;
$custom-light: #715ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1a97",
  "rgb": {
    "r": 26,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3366,
    "c": 0.19123,
    "h": 269.9
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#1A1A97
secondary
#C2C24B
accent
#ED3AED
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1A97

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

Preview Lab → · Contrast checker → · Palette generator →

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