#1D2886#1D2886

#1D2886 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.155 H 270.1°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1D2886
RGBrgb(29, 40, 134)
HSLhsl(234, 64%, 32%)
HSVhsv(234, 78%, 53%)
CMYKcmyk(78.4%, 70.1%, 0%, 47.5%)
CIE-LABlab(21.94, 30.63, -53.58)
CIE-LCHlch(21.94, 61.72, 299.76°)
OKLaboklab(33.95% 0.0004 -0.1551)
OKLCHoklch(33.95% 0.155 270.1)
XYZxyz(5.5671, 3.4994, 22.9317)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2886 #867B1D
analogous
#1D5D86 #1D2886 #471D86
triadic
#1D2886 #861D28 #28861D
tetradic
#1D2886 #861D5D #867B1D #1D8647
square
#1D2886 #861D5D #867B1D #1D8647
split-complementary
#1D2886 #86471D #5D861D
monochromatic
#070A21 #121954 #1D2886 #2837B8 #4656D7

Accessibility & contrast

On white

12.35
#1D2886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D2886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2886
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2886#FFFFFF#000000##FFFFFF
##1D28861.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2886;
/* rgb */ color: rgb(29, 40, 134);
/* oklch */ color: oklch(34.0% 0.155 270.1);
Tailwind
colors: {
  custom: {
    50: '#6c62aa',
    500: '#1d2886',
    950: '#000000',
  },
}
SCSS
$custom: #1d2886;
$custom-light: #6c62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2886",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 233.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33952,
    "c": 0.15506,
    "h": 270.1
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#1D2886
secondary
#B9AD46
accent
#D640E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D2886

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

Preview Lab → · Contrast checker → · Palette generator →

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