#1D2582#1D2582

#1D2582 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.153 H 270.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1D2582
RGBrgb(29, 37, 130)
HSLhsl(235, 64%, 31%)
HSVhsv(235, 78%, 51%)
CMYKcmyk(77.7%, 71.5%, 0%, 49%)
CIE-LABlab(20.81, 31.10, -52.92)
CIE-LCHlch(20.81, 61.38, 300.44°)
OKLaboklab(33.01% 0.0025 -0.1532)
OKLCHoklch(33.01% 0.153 270.9)
XYZxyz(5.1962, 3.1955, 21.4577)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2582 #827A1D
analogous
#1D5782 #1D2582 #471D82
triadic
#1D2582 #821D25 #25821D
tetradic
#1D2582 #821D57 #827A1D #1D8247
square
#1D2582 #821D57 #827A1D #1D8247
split-complementary
#1D2582 #82471D #57821D
monochromatic
#07091E #121750 #1D2582 #2833B4 #4450D5

Accessibility & contrast

On white

12.81
#1D2582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D2582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2582
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2582#FFFFFF#000000##FFFFFF
##1D25821.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2582;
/* rgb */ color: rgb(29, 37, 130);
/* oklch */ color: oklch(33.0% 0.153 270.9);
Tailwind
colors: {
  custom: {
    50: '#6b60a7',
    500: '#1d2582',
    950: '#000000',
  },
}
SCSS
$custom: #1d2582;
$custom-light: #6b60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2582",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 235.248,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3301,
    "c": 0.15318,
    "h": 270.9
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

primary
#1D2582
secondary
#B5AC46
accent
#D941E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1D2582

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

Preview Lab → · Contrast checker → · Palette generator →

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