#1D2982#1D2982

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

Color values

HEX#1D2982
RGBrgb(29, 41, 130)
HSLhsl(233, 64%, 31%)
HSVhsv(233, 78%, 51%)
CMYKcmyk(77.7%, 68.5%, 0%, 49%)
CIE-LABlab(21.79, 28.45, -51.31)
CIE-LCHlch(21.79, 58.67, 299.01°)
OKLaboklab(33.72% 0.0001 -0.1484)
OKLCHoklch(33.72% 0.148 270)
XYZxyz(5.3275, 3.4582, 21.5015)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2982 #82761D
analogous
#1D5B82 #1D2982 #431D82
triadic
#1D2982 #821D29 #29821D
tetradic
#1D2982 #821D5B #82761D #1D8243
square
#1D2982 #821D5B #82761D #1D8243
split-complementary
#1D2982 #82431D #5B821D
monochromatic
#07091E #121950 #1D2982 #2839B4 #4455D5

Accessibility & contrast

On white

12.41
#1D2982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D2982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2982
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2982#FFFFFF#000000##FFFFFF
##1D29821.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2982;
/* rgb */ color: rgb(29, 41, 130);
/* oklch */ color: oklch(33.7% 0.148 270.0);
Tailwind
colors: {
  custom: {
    50: '#6a63a7',
    500: '#1d2982',
    950: '#000000',
  },
}
SCSS
$custom: #1d2982;
$custom-light: #6a63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2982",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 232.871,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33723,
    "c": 0.14843,
    "h": 270
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#1D2982
secondary
#B5A846
accent
#D341E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1D2982

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

Preview Lab → · Contrast checker → · Palette generator →

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