#1D2480#1D2480

#1D2480 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.152 H 271.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#1D2480
RGBrgb(29, 36, 128)
HSLhsl(236, 63%, 31%)
HSVhsv(236, 77%, 50%)
CMYKcmyk(77.3%, 71.9%, 0%, 49.8%)
CIE-LABlab(20.36, 31.01, -52.39)
CIE-LCHlch(20.36, 60.88, 300.62°)
OKLaboklab(32.63% 0.0033 -0.1516)
OKLCHoklch(32.63% 0.152 271.2)
XYZxyz(5.0325, 3.0809, 20.7473)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2480 #80791D
analogous
#1D5580 #1D2480 #481D80
triadic
#1D2480 #801D24 #24801D
tetradic
#1D2480 #801D55 #80791D #1D8048
square
#1D2480 #801D55 #80791D #1D8048
split-complementary
#1D2480 #80481D #55801D
monochromatic
#06081C #12164E #1D2480 #2832B2 #434DD4

Accessibility & contrast

On white

12.99
#1D2480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2480
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2480#FFFFFF#000000##FFFFFF
##1D24801.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2480;
/* rgb */ color: rgb(29, 36, 128);
/* oklch */ color: oklch(32.6% 0.152 271.2);
Tailwind
colors: {
  custom: {
    50: '#6a5fa6',
    500: '#1d2480',
    950: '#000000',
  },
}
SCSS
$custom: #1d2480;
$custom-light: #6a5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2480",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 235.758,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32626,
    "c": 0.15165,
    "h": 271.2
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#1D2480
secondary
#B3AC45
accent
#DA42E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1D2480

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

Preview Lab → · Contrast checker → · Palette generator →

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