#1D1A85#1D1A85

#1D1A85 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.169 H 272.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#1D1A85
RGBrgb(29, 26, 133)
HSLhsl(242, 67%, 31%)
HSVhsv(242, 80%, 52%)
CMYKcmyk(78.2%, 80.5%, 0%, 47.8%)
CIE-LABlab(18.77, 38.82, -58.18)
CIE-LCHlch(18.77, 69.95, 303.71°)
OKLaboklab(31.66% 0.0071 -0.1684)
OKLCHoklch(31.66% 0.169 272.4)
XYZxyz(5.1083, 2.6929, 22.4363)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A85 #82851A
analogous
#1A4C85 #1D1A85 #521A85
triadic
#1D1A85 #851D1A #1A851D
tetradic
#1D1A85 #851A4C #82851A #1A8552
square
#1D1A85 #851A4C #82851A #1A8552
split-complementary
#1D1A85 #85521A #4C851A
monochromatic
#07061F #121052 #1D1A85 #2824B8 #4440DA

Accessibility & contrast

On white

13.65
#1D1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1A85
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A85#FFFFFF#000000##FFFFFF
##1D1A851.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d1a85;
/* rgb */ color: rgb(29, 26, 133);
/* oklch */ color: oklch(31.7% 0.169 272.4);
Tailwind
colors: {
  custom: {
    50: '#6d59aa',
    500: '#1d1a85',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a85;
$custom-light: #6d59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a85",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 241.682,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31656,
    "c": 0.16854,
    "h": 272.4
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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