#1D1071#1D1071

#1D1071 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.152 H 276.2°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#1D1071
RGBrgb(29, 16, 113)
HSLhsl(248, 75%, 25%)
HSVhsv(248, 86%, 44%)
CMYKcmyk(74.3%, 85.8%, 0%, 55.7%)
CIE-LABlab(14.53, 37.41, -52.41)
CIE-LCHlch(14.53, 64.39, 305.52°)
OKLaboklab(28% 0.0163 -0.1515)
OKLCHoklch(28% 0.152 276.2)
XYZxyz(3.6716, 1.8237, 15.7781)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1071 #647110
analogous
#103471 #1D1071 #4D1071
triadic
#1D1071 #711D10 #10711D
tetradic
#1D1071 #711034 #647110 #10714D
square
#1D1071 #711034 #647110 #10714D
split-complementary
#1D1071 #714D10 #347110
monochromatic
#07041B #0F083B #1D1071 #2B18A7 #391FDC

Accessibility & contrast

On white

15.39
#1D1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1D1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1071
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1071#FFFFFF#000000##FFFFFF
##1D10711.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d1071;
/* rgb */ color: rgb(29, 16, 113);
/* oklch */ color: oklch(28.0% 0.152 276.2);
Tailwind
colors: {
  custom: {
    50: '#68529b',
    500: '#1d1071',
    950: '#000000',
  },
}
SCSS
$custom: #1d1071;
$custom-light: #68529b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1071",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 248.041,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27996,
    "c": 0.15235,
    "h": 276.2
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#1D1071
secondary
#99A934
accent
#F236D9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1D1071

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

Preview Lab → · Contrast checker → · Palette generator →

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