#1A1981#1A1981

#1A1981 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.165 H 271.6°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#1A1981
RGBrgb(26, 25, 129)
HSLhsl(241, 68%, 30%)
HSVhsv(241, 81%, 51%)
CMYKcmyk(79.8%, 80.6%, 0%, 49.4%)
CIE-LABlab(17.92, 37.79, -57.07)
CIE-LCHlch(17.92, 68.45, 303.51°)
OKLaboklab(30.87% 0.0046 -0.1652)
OKLCHoklch(30.87% 0.165 271.6)
XYZxyz(4.7347, 2.4993, 20.9975)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1981 #808119
analogous
#194C81 #1A1981 #4E1981
triadic
#1A1981 #811A19 #19811A
tetradic
#1A1981 #81194C #808119 #19814E
square
#1A1981 #81194C #808119 #19814E
split-complementary
#1A1981 #814E19 #4C8119
monochromatic
#05051A #100F4E #1A1981 #2423B4 #3D3BD9

Accessibility & contrast

On white

14.00
#1A1981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A1981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1981
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1981#FFFFFF#000000##FFFFFF
##1A19811.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1981;
/* rgb */ color: rgb(26, 25, 129);
/* oklch */ color: oklch(30.9% 0.165 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b58a7',
    500: '#1a1981',
    950: '#000000',
  },
}
SCSS
$custom: #1a1981;
$custom-light: #6b58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1981",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 240.577,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.30868,
    "c": 0.16529,
    "h": 271.6
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#1A1981
secondary
#B4B541
accent
#EA3DE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1981

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

Preview Lab → · Contrast checker → · Palette generator →

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