#1D2571#1D2571

#1D2571 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.130 H 271.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1D2571
RGBrgb(29, 37, 113)
HSLhsl(234, 59%, 28%)
HSVhsv(234, 74%, 44%)
CMYKcmyk(74.3%, 67.3%, 0%, 55.7%)
CIE-LABlab(19.12, 24.64, -44.84)
CIE-LCHlch(19.12, 51.16, 298.79°)
OKLaboklab(31.27% 0.0041 -0.1295)
OKLCHoklch(31.27% 0.13 271.8)
XYZxyz(4.1479, 2.7762, 15.9368)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2571 #71691D
analogous
#1D4F71 #1D2571 #3F1D71
triadic
#1D2571 #711D25 #25711D
tetradic
#1D2571 #711D4F #71691D #1D713F
square
#1D2571 #711D4F #71691D #1D713F
split-complementary
#1D2571 #713F1D #4F711D
monochromatic
#060818 #111540 #1D2571 #2935A2 #3C49CD

Accessibility & contrast

On white

13.50
#1D2571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D2571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2571
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2571#FFFFFF#000000##FFFFFF
##1D25711.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2571;
/* rgb */ color: rgb(29, 37, 113);
/* oklch */ color: oklch(31.3% 0.130 271.8);
Tailwind
colors: {
  custom: {
    50: '#665f9b',
    500: '#1d2571',
    950: '#000000',
  },
}
SCSS
$custom: #1d2571;
$custom-light: #665f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2571",
  "rgb": {
    "r": 29,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 234.286,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31269,
    "c": 0.12959,
    "h": 271.8
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#1D2571
secondary
#A59C44
accent
#D345E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2571

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

Preview Lab → · Contrast checker → · Palette generator →

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