#1D2486#1D2486

#1D2486 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.160 H 270.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#1D2486
RGBrgb(29, 36, 134)
HSLhsl(236, 64%, 32%)
HSVhsv(236, 78%, 53%)
CMYKcmyk(78.4%, 73.1%, 0%, 47.5%)
CIE-LABlab(20.99, 33.22, -55.14)
CIE-LCHlch(20.99, 64.37, 301.07°)
OKLaboklab(33.27% 0.0025 -0.1596)
OKLCHoklch(33.27% 0.16 270.9)
XYZxyz(5.4392, 3.2436, 22.8891)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2486 #867F1D
analogous
#1D5986 #1D2486 #4B1D86
triadic
#1D2486 #861D24 #24861D
tetradic
#1D2486 #861D59 #867F1D #1D864B
square
#1D2486 #861D59 #867F1D #1D864B
split-complementary
#1D2486 #864B1D #59861D
monochromatic
#070921 #121654 #1D2486 #2832B8 #4650D7

Accessibility & contrast

On white

12.74
#1D2486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1D2486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2486
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2486#FFFFFF#000000##FFFFFF
##1D24861.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2486;
/* rgb */ color: rgb(29, 36, 134);
/* oklch */ color: oklch(33.3% 0.160 270.9);
Tailwind
colors: {
  custom: {
    50: '#6c5faa',
    500: '#1d2486',
    950: '#000000',
  },
}
SCSS
$custom: #1d2486;
$custom-light: #6c5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2486",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 236,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33268,
    "c": 0.15964,
    "h": 270.9
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#1D2486
secondary
#B9B146
accent
#DC40E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2486

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

Preview Lab → · Contrast checker → · Palette generator →

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