#1D1070#1D1070

#1D1070 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.151 H 276.3°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#1D1070
RGBrgb(29, 16, 112)
HSLhsl(248, 75%, 25%)
HSVhsv(248, 86%, 44%)
CMYKcmyk(74.1%, 85.7%, 0%, 56.1%)
CIE-LABlab(14.41, 37.09, -51.96)
CIE-LCHlch(14.41, 63.84, 305.52°)
OKLaboklab(27.87% 0.0167 -0.1502)
OKLCHoklch(27.87% 0.151 276.3)
XYZxyz(3.6157, 1.8013, 15.4832)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1070 #637010
analogous
#103370 #1D1070 #4D1070
triadic
#1D1070 #701D10 #10701D
tetradic
#1D1070 #701033 #637010 #10704D
square
#1D1070 #701033 #637010 #10704D
split-complementary
#1D1070 #704D10 #337010
monochromatic
#07041B #0F083A #1D1070 #2B18A6 #391FDB

Accessibility & contrast

On white

15.44
#1D1070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1070
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1070#FFFFFF#000000##FFFFFF
##1D10701.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#00206E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1d1070;
/* rgb */ color: rgb(29, 16, 112);
/* oklch */ color: oklch(27.9% 0.151 276.3);
Tailwind
colors: {
  custom: {
    50: '#68529a',
    500: '#1d1070',
    950: '#000000',
  },
}
SCSS
$custom: #1d1070;
$custom-light: #68529a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1070",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 248.125,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27873,
    "c": 0.1511,
    "h": 276.3
  },
  "luminance": 0.01802
}

Semantic roles & 50–950 ramp

primary
#1D1070
secondary
#98A834
accent
#F236D8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1D1070

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

Preview Lab → · Contrast checker → · Palette generator →

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