#1D1076#1D1076

#1D1076 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.6% C 0.159 H 275.3°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#1D1076
RGBrgb(29, 16, 118)
HSLhsl(248, 76%, 26%)
HSVhsv(248, 86%, 46%)
CMYKcmyk(75.4%, 86.4%, 0%, 53.7%)
CIE-LABlab(15.17, 39.01, -54.59)
CIE-LCHlch(15.17, 67.10, 305.55°)
OKLaboklab(28.62% 0.0148 -0.1578)
OKLCHoklch(28.62% 0.159 275.3)
XYZxyz(3.9609, 1.9394, 17.3016)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1076 #697610
analogous
#103676 #1D1076 #501076
triadic
#1D1076 #761D10 #10761D
tetradic
#1D1076 #761036 #697610 #107650
square
#1D1076 #761036 #697610 #107650
split-complementary
#1D1076 #765010 #367610
monochromatic
#07041B #100940 #1D1076 #2A17AC #3820E1

Accessibility & contrast

On white

15.13
#1D1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1D1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1076
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1076#FFFFFF#000000##FFFFFF
##1D10761.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002174
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d1076;
/* rgb */ color: rgb(29, 16, 118);
/* oklch */ color: oklch(28.6% 0.159 275.3);
Tailwind
colors: {
  custom: {
    50: '#6a529f',
    500: '#1d1076',
    950: '#000000',
  },
}
SCSS
$custom: #1d1076;
$custom-light: #6a529f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1076",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 247.647,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28616,
    "c": 0.1585,
    "h": 275.3
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#1D1076
secondary
#9EAD35
accent
#F335DB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020F
muted
#7A787E

Preview Lab

Preview with #1D1076

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

Preview Lab → · Contrast checker → · Palette generator →

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