#1D1D76#1D1D76

#1D1D76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.146 H 273.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#1D1D76
RGBrgb(29, 29, 118)
HSLhsl(240, 61%, 29%)
HSVhsv(240, 75%, 46%)
CMYKcmyk(75.4%, 75.4%, 0%, 53.7%)
CIE-LABlab(17.68, 31.81, -50.44)
CIE-LCHlch(17.68, 59.63, 302.24°)
OKLaboklab(30.38% 0.0088 -0.1459)
OKLCHoklch(30.38% 0.146 273.4)
XYZxyz(4.2150, 2.4475, 17.3863)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D76 #76761D
analogous
#1D4A76 #1D1D76 #4A1D76
triadic
#1D1D76 #761D1D #1D761D
tetradic
#1D1D76 #761D4A #76761D #1D764A
square
#1D1D76 #761D4A #76761D #1D764A
split-complementary
#1D1D76 #764A1D #4A761D
monochromatic
#060619 #111145 #1D1D76 #2929A7 #3E3ED0

Accessibility & contrast

On white

14.10
#1D1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1D1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1D76
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D76#FFFFFF#000000##FFFFFF
##1D1D761.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d1d76;
/* rgb */ color: rgb(29, 29, 118);
/* oklch */ color: oklch(30.4% 0.146 273.4);
Tailwind
colors: {
  custom: {
    50: '#685a9e',
    500: '#1d1d76',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d76;
$custom-light: #685a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d76",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30379,
    "c": 0.14615,
    "h": 273.4
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#1D1D76
secondary
#AAAA45
accent
#E444E4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1D1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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