#1D1072#1D1072

#1D1072 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.1% C 0.154 H 276.0°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#1D1072
RGBrgb(29, 16, 114)
HSLhsl(248, 75%, 25%)
HSVhsv(248, 86%, 45%)
CMYKcmyk(74.6%, 86%, 0%, 55.3%)
CIE-LABlab(14.66, 37.74, -52.85)
CIE-LCHlch(14.66, 64.94, 305.53°)
OKLaboklab(28.12% 0.016 -0.1527)
OKLCHoklch(28.12% 0.154 276)
XYZxyz(3.7283, 1.8463, 16.0762)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1072 #657210
analogous
#103472 #1D1072 #4E1072
triadic
#1D1072 #721D10 #10721D
tetradic
#1D1072 #721034 #657210 #10724E
square
#1D1072 #721034 #657210 #10724E
split-complementary
#1D1072 #724E10 #347210
monochromatic
#07041B #0F083C #1D1072 #2B18A8 #381FDD

Accessibility & contrast

On white

15.34
#1D1072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1D1072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1072
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1072#FFFFFF#000000##FFFFFF
##1D10721.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d1072;
/* rgb */ color: rgb(29, 16, 114);
/* oklch */ color: oklch(28.1% 0.154 276.0);
Tailwind
colors: {
  custom: {
    50: '#69529c',
    500: '#1d1072',
    950: '#000000',
  },
}
SCSS
$custom: #1d1072;
$custom-light: #69529c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1072",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 247.959,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.2812,
    "c": 0.15358,
    "h": 276
  },
  "luminance": 0.01847
}

Semantic roles & 50–950 ramp

primary
#1D1072
secondary
#9AA934
accent
#F236D9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1D1072

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

Preview Lab → · Contrast checker → · Palette generator →

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