#1D2586#1D2586

#1D2586 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.159 H 270.7°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#1D2586
RGBrgb(29, 37, 134)
HSLhsl(235, 64%, 32%)
HSVhsv(235, 78%, 53%)
CMYKcmyk(78.4%, 72.4%, 0%, 47.5%)
CIE-LABlab(21.23, 32.58, -54.75)
CIE-LCHlch(21.23, 63.72, 300.76°)
OKLaboklab(33.43% 0.002 -0.1585)
OKLCHoklch(33.43% 0.159 270.7)
XYZxyz(5.4699, 3.3050, 22.8993)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2586 #867E1D
analogous
#1D5986 #1D2586 #4A1D86
triadic
#1D2586 #861D25 #25861D
tetradic
#1D2586 #861D59 #867E1D #1D864A
square
#1D2586 #861D59 #867E1D #1D864A
split-complementary
#1D2586 #864A1D #59861D
monochromatic
#070921 #121754 #1D2586 #2833B8 #4651D7

Accessibility & contrast

On white

12.64
#1D2586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D2586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2586
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2586#FFFFFF#000000##FFFFFF
##1D25861.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2586;
/* rgb */ color: rgb(29, 37, 134);
/* oklch */ color: oklch(33.4% 0.159 270.7);
Tailwind
colors: {
  custom: {
    50: '#6c60aa',
    500: '#1d2586',
    950: '#000000',
  },
}
SCSS
$custom: #1d2586;
$custom-light: #6c60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2586",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 235.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33435,
    "c": 0.15851,
    "h": 270.7
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#1D2586
secondary
#B9B046
accent
#DB40E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D2586

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

Preview Lab → · Contrast checker → · Palette generator →

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