#1D2580#1D2580

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

Color values

HEX#1D2580
RGBrgb(29, 37, 128)
HSLhsl(235, 63%, 31%)
HSVhsv(235, 77%, 50%)
CMYKcmyk(77.3%, 71.1%, 0%, 49.8%)
CIE-LABlab(20.61, 30.35, -52.00)
CIE-LCHlch(20.61, 60.21, 300.27°)
OKLaboklab(32.8% 0.0027 -0.1504)
OKLCHoklch(32.8% 0.15 271)
XYZxyz(5.0632, 3.1423, 20.7576)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2580 #80781D
analogous
#1D5680 #1D2580 #471D80
triadic
#1D2580 #801D25 #25801D
tetradic
#1D2580 #801D56 #80781D #1D8047
square
#1D2580 #801D56 #80781D #1D8047
split-complementary
#1D2580 #80471D #56801D
monochromatic
#06081C #12174E #1D2580 #2833B2 #434FD4

Accessibility & contrast

On white

12.89
#1D2580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2580
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2580#FFFFFF#000000##FFFFFF
##1D25801.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2580;
/* rgb */ color: rgb(29, 37, 128);
/* oklch */ color: oklch(32.8% 0.150 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a60a6',
    500: '#1d2580',
    950: '#000000',
  },
}
SCSS
$custom: #1d2580;
$custom-light: #6a60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2580",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 235.152,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32799,
    "c": 0.15047,
    "h": 271
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#1D2580
secondary
#B3AA45
accent
#D942E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #1D2580

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

Preview Lab → · Contrast checker → · Palette generator →

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