#1D2C86#1D2C86

#1D2C86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.150 H 269.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#1D2C86
RGBrgb(29, 44, 134)
HSLhsl(231, 64%, 32%)
HSVhsv(231, 78%, 53%)
CMYKcmyk(78.4%, 67.2%, 0%, 47.5%)
CIE-LABlab(22.94, 27.96, -51.93)
CIE-LCHlch(22.94, 58.98, 298.30°)
OKLaboklab(34.68% -0.002 -0.1502)
OKLCHoklch(34.68% 0.15 269.2)
XYZxyz(5.7090, 3.7832, 22.9790)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C86 #86771D
analogous
#1D6086 #1D2C86 #431D86
triadic
#1D2C86 #861D2C #2C861D
tetradic
#1D2C86 #861D60 #86771D #1D8643
square
#1D2C86 #861D60 #86771D #1D8643
split-complementary
#1D2C86 #86431D #60861D
monochromatic
#070B21 #121B54 #1D2C86 #283DB8 #465BD7

Accessibility & contrast

On white

11.95
#1D2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1D2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C86
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C86#FFFFFF#000000##FFFFFF
##1D2C861.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.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: #1d2c86;
/* rgb */ color: rgb(29, 44, 134);
/* oklch */ color: oklch(34.7% 0.150 269.2);
Tailwind
colors: {
  custom: {
    50: '#6b65aa',
    500: '#1d2c86',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c86;
$custom-light: #6b65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c86",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 231.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34681,
    "c": 0.15026,
    "h": 269.2
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#1D2C86
secondary
#B9A846
accent
#D040E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1D2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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