#1D2086#1D2086

#1D2086 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.164 H 271.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1D2086
RGBrgb(29, 32, 134)
HSLhsl(238, 64%, 32%)
HSVhsv(238, 78%, 53%)
CMYKcmyk(78.4%, 76.1%, 0%, 47.5%)
CIE-LABlab(20.10, 35.70, -56.61)
CIE-LCHlch(20.10, 66.92, 302.24°)
OKLaboklab(32.63% 0.0044 -0.1639)
OKLCHoklch(32.63% 0.164 271.5)
XYZxyz(5.3248, 3.0149, 22.8509)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2086 #86831D
analogous
#1D5586 #1D2086 #4F1D86
triadic
#1D2086 #861D20 #20861D
tetradic
#1D2086 #861D55 #86831D #1D864F
square
#1D2086 #861D55 #86831D #1D864F
split-complementary
#1D2086 #864F1D #55861D
monochromatic
#070821 #121454 #1D2086 #282CB8 #464AD7

Accessibility & contrast

On white

13.10
#1D2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2086
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2086#FFFFFF#000000##FFFFFF
##1D20861.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2086;
/* rgb */ color: rgb(29, 32, 134);
/* oklch */ color: oklch(32.6% 0.164 271.5);
Tailwind
colors: {
  custom: {
    50: '#6c5daa',
    500: '#1d2086',
    950: '#000000',
  },
}
SCSS
$custom: #1d2086;
$custom-light: #6c5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2086",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 238.286,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32631,
    "c": 0.16393,
    "h": 271.5
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#1D2086
secondary
#B9B646
accent
#E340E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2086

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

Preview Lab → · Contrast checker → · Palette generator →

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