#1D1A97#1D1A97

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

Color values

HEX#1D1A97
RGBrgb(29, 26, 151)
HSLhsl(241, 71%, 35%)
HSVhsv(241, 83%, 59%)
CMYKcmyk(80.8%, 82.8%, 0%, 40.8%)
CIE-LABlab(20.96, 44.76, -65.78)
CIE-LCHlch(20.96, 79.56, 304.23°)
OKLaboklab(33.82% 0.003 -0.1904)
OKLCHoklch(33.82% 0.19 270.9)
XYZxyz(6.4601, 3.2336, 29.5558)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A97 #94971A
analogous
#1A5697 #1D1A97 #5C1A97
triadic
#1D1A97 #971D1A #1A971D
tetradic
#1D1A97 #971A56 #94971A #1A975C
square
#1D1A97 #971A56 #94971A #1A975C
split-complementary
#1D1A97 #975C1A #56971A
monochromatic
#09082F #131163 #1D1A97 #2723CB #4F4BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D1A97#FFFFFF#000000##FFFFFF
##1D1A971.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: #1d1a97;
/* rgb */ color: rgb(29, 26, 151);
/* oklch */ color: oklch(33.8% 0.190 270.9);
Tailwind
colors: {
  custom: {
    50: '#725ab7',
    500: '#1d1a97',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a97;
$custom-light: #725ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a97",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 241.44,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.33815,
    "c": 0.19042,
    "h": 270.9
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#1D1A97
secondary
#BFC24B
accent
#ED3AE9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1A97

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

Preview Lab → · Contrast checker → · Palette generator →

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