#1D2980#1D2980

#1D2980 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.146 H 270.1°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1D2980
RGBrgb(29, 41, 128)
HSLhsl(233, 63%, 31%)
HSVhsv(233, 77%, 50%)
CMYKcmyk(77.3%, 68%, 0%, 49.8%)
CIE-LABlab(21.60, 27.69, -50.36)
CIE-LCHlch(21.60, 57.47, 298.80°)
OKLaboklab(33.52% 0.0003 -0.1457)
OKLCHoklch(33.52% 0.146 270.1)
XYZxyz(5.1946, 3.4050, 20.8014)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2980 #80741D
analogous
#1D5A80 #1D2980 #421D80
triadic
#1D2980 #801D29 #29801D
tetradic
#1D2980 #801D5A #80741D #1D8042
square
#1D2980 #801D5A #80741D #1D8042
split-complementary
#1D2980 #80421D #5A801D
monochromatic
#06091C #12194E #1D2980 #2839B2 #4355D4

Accessibility & contrast

On white

12.49
#1D2980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D2980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2980
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2980#FFFFFF#000000##FFFFFF
##1D29801.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2980;
/* rgb */ color: rgb(29, 41, 128);
/* oklch */ color: oklch(33.5% 0.146 270.1);
Tailwind
colors: {
  custom: {
    50: '#6a62a6',
    500: '#1d2980',
    950: '#000000',
  },
}
SCSS
$custom: #1d2980;
$custom-light: #6a62a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2980",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 232.727,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33521,
    "c": 0.14567,
    "h": 270.1
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#1D2980
secondary
#B3A645
accent
#D242E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D2980

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

Preview Lab → · Contrast checker → · Palette generator →

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