#1D2D86#1D2D86

#1D2D86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.149 H 269.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#1D2D86
RGBrgb(29, 45, 134)
HSLhsl(231, 64%, 32%)
HSVhsv(231, 78%, 53%)
CMYKcmyk(78.4%, 66.4%, 0%, 47.5%)
CIE-LABlab(23.20, 27.29, -51.51)
CIE-LCHlch(23.20, 58.29, 297.91°)
OKLaboklab(34.87% -0.0026 -0.149)
OKLCHoklch(34.87% 0.149 269)
XYZxyz(5.7467, 3.8586, 22.9915)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D86 #86761D
analogous
#1D6286 #1D2D86 #421D86
triadic
#1D2D86 #861D2D #2D861D
tetradic
#1D2D86 #861D62 #86761D #1D8642
square
#1D2D86 #861D62 #86761D #1D8642
split-complementary
#1D2D86 #86421D #62861D
monochromatic
#070B21 #121C54 #1D2D86 #283EB8 #465CD7

Accessibility & contrast

On white

11.85
#1D2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D86
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D86#FFFFFF#000000##FFFFFF
##1D2D861.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2d86;
/* rgb */ color: rgb(29, 45, 134);
/* oklch */ color: oklch(34.9% 0.149 269.0);
Tailwind
colors: {
  custom: {
    50: '#6b66aa',
    500: '#1d2d86',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d86;
$custom-light: #6b66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d86",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 230.857,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34869,
    "c": 0.14903,
    "h": 269
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#1D2D86
secondary
#B9A746
accent
#CE40E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1D2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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