#1D1A84#1D1A84

#1D1A84 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.167 H 272.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#1D1A84
RGBrgb(29, 26, 132)
HSLhsl(242, 67%, 31%)
HSVhsv(242, 80%, 52%)
CMYKcmyk(78%, 80.3%, 0%, 48.2%)
CIE-LABlab(18.65, 38.48, -57.75)
CIE-LCHlch(18.65, 69.40, 303.68°)
OKLaboklab(31.54% 0.0073 -0.1671)
OKLCHoklch(31.54% 0.167 272.5)
XYZxyz(5.0395, 2.6654, 22.0742)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A84 #81841A
analogous
#1A4C84 #1D1A84 #521A84
triadic
#1D1A84 #841D1A #1A841D
tetradic
#1D1A84 #841A4C #81841A #1A8452
square
#1D1A84 #841A4C #81841A #1A8452
split-complementary
#1D1A84 #84521A #4C841A
monochromatic
#07061E #121051 #1D1A84 #2824B7 #443FD9

Accessibility & contrast

On white

13.70
#1D1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D1A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1A84
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A84#FFFFFF#000000##FFFFFF
##1D1A841.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d1a84;
/* rgb */ color: rgb(29, 26, 132);
/* oklch */ color: oklch(31.5% 0.167 272.5);
Tailwind
colors: {
  custom: {
    50: '#6d59a9',
    500: '#1d1a84',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a84;
$custom-light: #6d59a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a84",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 241.698,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31538,
    "c": 0.16729,
    "h": 272.5
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#1D1A84
secondary
#B4B842
accent
#EA3EE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1D1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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