#1D1D79#1D1D79

#1D1D79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.150 H 273.1°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#1D1D79
RGBrgb(29, 29, 121)
HSLhsl(240, 61%, 29%)
HSVhsv(240, 76%, 47%)
CMYKcmyk(76%, 76%, 0%, 52.5%)
CIE-LABlab(18.01, 32.89, -51.82)
CIE-LCHlch(18.01, 61.37, 302.40°)
OKLaboklab(30.71% 0.0082 -0.1499)
OKLCHoklch(30.71% 0.15 273.1)
XYZxyz(4.3961, 2.5200, 18.3402)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D79 #79791D
analogous
#1D4B79 #1D1D79 #4B1D79
triadic
#1D1D79 #791D1D #1D791D
tetradic
#1D1D79 #791D4B #79791D #1D794B
square
#1D1D79 #791D4B #79791D #1D794B
split-complementary
#1D1D79 #794B1D #4B791D
monochromatic
#060619 #111148 #1D1D79 #2929AA #3F3FD1

Accessibility & contrast

On white

13.96
#1D1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1D1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1D79
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D79#FFFFFF#000000##FFFFFF
##1D1D791.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d1d79;
/* rgb */ color: rgb(29, 29, 121);
/* oklch */ color: oklch(30.7% 0.150 273.1);
Tailwind
colors: {
  custom: {
    50: '#695aa1',
    500: '#1d1d79',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d79;
$custom-light: #695aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d79",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 240,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30712,
    "c": 0.15015,
    "h": 273.1
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#1D1D79
secondary
#ADAD45
accent
#E443E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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