#1D2584#1D2584

#1D2584 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.156 H 270.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#1D2584
RGBrgb(29, 37, 132)
HSLhsl(235, 64%, 32%)
HSVhsv(235, 78%, 52%)
CMYKcmyk(78%, 72%, 0%, 48.2%)
CIE-LABlab(21.02, 31.84, -53.84)
CIE-LCHlch(21.02, 62.55, 300.60°)
OKLaboklab(33.22% 0.0022 -0.1558)
OKLCHoklch(33.22% 0.156 270.8)
XYZxyz(5.3317, 3.2497, 22.1716)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2584 #847C1D
analogous
#1D5984 #1D2584 #491D84
triadic
#1D2584 #841D25 #25841D
tetradic
#1D2584 #841D59 #847C1D #1D8449
square
#1D2584 #841D59 #847C1D #1D8449
split-complementary
#1D2584 #84491D #59841D
monochromatic
#070920 #121752 #1D2584 #2833B6 #4550D6

Accessibility & contrast

On white

12.73
#1D2584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2584
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2584#FFFFFF#000000##FFFFFF
##1D25841.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2584;
/* rgb */ color: rgb(29, 37, 132);
/* oklch */ color: oklch(33.2% 0.156 270.8);
Tailwind
colors: {
  custom: {
    50: '#6b60a9',
    500: '#1d2584',
    950: '#000000',
  },
}
SCSS
$custom: #1d2584;
$custom-light: #6b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2584",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 235.34,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33222,
    "c": 0.15586,
    "h": 270.8
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#1D2584
secondary
#B7AE46
accent
#DA41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D2584

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

Preview Lab → · Contrast checker → · Palette generator →

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