#1D2985#1D2985

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

Color values

HEX#1D2985
RGBrgb(29, 41, 133)
HSLhsl(233, 64%, 32%)
HSVhsv(233, 78%, 52%)
CMYKcmyk(78.2%, 69.2%, 0%, 47.8%)
CIE-LABlab(22.09, 29.59, -52.71)
CIE-LCHlch(22.09, 60.45, 299.31°)
OKLaboklab(34.03% -0.0001 -0.1525)
OKLCHoklch(34.03% 0.153 270)
XYZxyz(5.5318, 3.5399, 22.5775)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2985 #85791D
analogous
#1D5D85 #1D2985 #451D85
triadic
#1D2985 #851D29 #29851D
tetradic
#1D2985 #851D5D #85791D #1D8545
square
#1D2985 #851D5D #85791D #1D8545
split-complementary
#1D2985 #85451D #5D851D
monochromatic
#070A21 #121A53 #1D2985 #2838B7 #4656D7

Accessibility & contrast

On white

12.29
#1D2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2985
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2985#FFFFFF#000000##FFFFFF
##1D29851.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2985;
/* rgb */ color: rgb(29, 41, 133);
/* oklch */ color: oklch(34.0% 0.153 270.0);
Tailwind
colors: {
  custom: {
    50: '#6b63a9',
    500: '#1d2985',
    950: '#000000',
  },
}
SCSS
$custom: #1d2985;
$custom-light: #6b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2985",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 233.077,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34028,
    "c": 0.15253,
    "h": 270
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#1D2985
secondary
#B8AB46
accent
#D441E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D2985

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

Preview Lab → · Contrast checker → · Palette generator →

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