#1D2482#1D2482

#1D2482 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.154 H 271.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#1D2482
RGBrgb(29, 36, 130)
HSLhsl(236, 64%, 31%)
HSVhsv(236, 78%, 51%)
CMYKcmyk(77.7%, 72.3%, 0%, 49%)
CIE-LABlab(20.57, 31.75, -53.31)
CIE-LCHlch(20.57, 62.05, 300.78°)
OKLaboklab(32.84% 0.003 -0.1543)
OKLCHoklch(32.84% 0.154 271.1)
XYZxyz(5.1655, 3.1341, 21.4475)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2482 #827B1D
analogous
#1D5682 #1D2482 #481D82
triadic
#1D2482 #821D24 #24821D
tetradic
#1D2482 #821D56 #827B1D #1D8248
square
#1D2482 #821D56 #827B1D #1D8248
split-complementary
#1D2482 #82481D #56821D
monochromatic
#07081E #121650 #1D2482 #2832B4 #444ED5

Accessibility & contrast

On white

12.91
#1D2482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2482
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2482#FFFFFF#000000##FFFFFF
##1D24821.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2482;
/* rgb */ color: rgb(29, 36, 130);
/* oklch */ color: oklch(32.8% 0.154 271.1);
Tailwind
colors: {
  custom: {
    50: '#6b5fa7',
    500: '#1d2482',
    950: '#000000',
  },
}
SCSS
$custom: #1d2482;
$custom-light: #6b5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2482",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 235.842,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32839,
    "c": 0.15433,
    "h": 271.1
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#1D2482
secondary
#B5AD46
accent
#DB41E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #1D2482

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

Preview Lab → · Contrast checker → · Palette generator →

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