#1D1A9E#1D1A9E

#1D1A9E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.199 H 270.4°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#1D1A9E
RGBrgb(29, 26, 158)
HSLhsl(241, 72%, 36%)
HSVhsv(241, 84%, 62%)
CMYKcmyk(81.6%, 83.5%, 0%, 38%)
CIE-LABlab(21.83, 46.99, -68.63)
CIE-LCHlch(21.83, 83.17, 304.40°)
OKLaboklab(34.67% 0.0014 -0.1987)
OKLCHoklch(34.67% 0.199 270.4)
XYZxyz(7.0456, 3.4678, 32.6391)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A9E #9B9E1A
analogous
#1A599E #1D1A9E #5F1A9E
triadic
#1D1A9E #9E1D1A #1A9E1D
tetradic
#1D1A9E #9E1A59 #9B9E1A #1A9E5F
square
#1D1A9E #9E1A59 #9B9E1A #1A9E5F
split-complementary
#1D1A9E #9E5F1A #599E1A
monochromatic
#0A0935 #131169 #1D1A9E #2723D3 #5350E2

Accessibility & contrast

On white

12.40
#1D1A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D1A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1A9E
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A9E#FFFFFF#000000##FFFFFF
##1D1A9E1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d1a9e;
/* rgb */ color: rgb(29, 26, 158);
/* oklch */ color: oklch(34.7% 0.199 270.4);
Tailwind
colors: {
  custom: {
    50: '#735bbc',
    500: '#1d1a9e',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a9e;
$custom-light: #735bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a9e",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 241.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34669,
    "c": 0.19866,
    "h": 270.4
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#1D1A9E
secondary
#C2C54F
accent
#EE39EA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D1A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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