#1D2286#1D2286

#1D2286 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.162 H 271.2°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1D2286
RGBrgb(29, 34, 134)
HSLhsl(237, 64%, 32%)
HSVhsv(237, 78%, 53%)
CMYKcmyk(78.4%, 74.6%, 0%, 47.5%)
CIE-LABlab(20.54, 34.48, -55.88)
CIE-LCHlch(20.54, 65.66, 301.67°)
OKLaboklab(32.94% 0.0035 -0.1618)
OKLCHoklch(32.94% 0.162 271.2)
XYZxyz(5.3803, 3.1259, 22.8694)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2286 #86811D
analogous
#1D5786 #1D2286 #4D1D86
triadic
#1D2286 #861D22 #22861D
tetradic
#1D2286 #861D57 #86811D #1D864D
square
#1D2286 #861D57 #86811D #1D864D
split-complementary
#1D2286 #864D1D #57861D
monochromatic
#070821 #121554 #1D2286 #282FB8 #464DD7

Accessibility & contrast

On white

12.92
#1D2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2286
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2286#FFFFFF#000000##FFFFFF
##1D22861.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2286;
/* rgb */ color: rgb(29, 34, 134);
/* oklch */ color: oklch(32.9% 0.162 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c5eaa',
    500: '#1d2286',
    950: '#000000',
  },
}
SCSS
$custom: #1d2286;
$custom-light: #6c5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2286",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 237.143,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32943,
    "c": 0.16182,
    "h": 271.2
  },
  "luminance": 0.03126
}

Semantic roles & 50–950 ramp

primary
#1D2286
secondary
#B9B346
accent
#DF40E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2286

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

Preview Lab → · Contrast checker → · Palette generator →

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