#1D1A93#1D1A93

#1D1A93 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.186 H 271.2°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#1D1A93
RGBrgb(29, 26, 147)
HSLhsl(241, 70%, 34%)
HSVhsv(241, 82%, 58%)
CMYKcmyk(80.3%, 82.3%, 0%, 42.4%)
CIE-LABlab(20.46, 43.46, -64.12)
CIE-LCHlch(20.46, 77.47, 304.13°)
OKLaboklab(33.33% 0.0039 -0.1856)
OKLCHoklch(33.33% 0.186 271.2)
XYZxyz(6.1408, 3.1059, 27.8740)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A93 #90931A
analogous
#1A5493 #1D1A93 #5A1A93
triadic
#1D1A93 #931D1A #1A931D
tetradic
#1D1A93 #931A54 #90931A #1A935A
square
#1D1A93 #931A54 #90931A #1A935A
split-complementary
#1D1A93 #935A1A #54931A
monochromatic
#08082B #13115F #1D1A93 #2723C7 #4C49DF

Accessibility & contrast

On white

12.95
#1D1A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D1A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1A93
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A93#FFFFFF#000000##FFFFFF
##1D1A931.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002B91
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d1a93;
/* rgb */ color: rgb(29, 26, 147);
/* oklch */ color: oklch(33.3% 0.186 271.2);
Tailwind
colors: {
  custom: {
    50: '#705ab4',
    500: '#1d1a93',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a93;
$custom-light: #705ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a93",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 241.488,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3333,
    "c": 0.18565,
    "h": 271.2
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#1D1A93
secondary
#BDC048
accent
#ED3BE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1A93

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

Preview Lab → · Contrast checker → · Palette generator →

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