#1D1479#1D1479

#1D1479 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.159 H 274.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#1D1479
RGBrgb(29, 20, 121)
HSLhsl(245, 72%, 28%)
HSVhsv(245, 83%, 47%)
CMYKcmyk(76%, 83.5%, 0%, 52.5%)
CIE-LABlab(16.21, 38.02, -54.79)
CIE-LCHlch(16.21, 66.68, 304.76°)
OKLaboklab(29.45% 0.0124 -0.1584)
OKLCHoklch(29.45% 0.159 274.5)
XYZxyz(4.2069, 2.1416, 18.2771)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1479 #707914
analogous
#143D79 #1D1479 #501479
triadic
#1D1479 #791D14 #14791D
tetradic
#1D1479 #79143D #707914 #147950
square
#1D1479 #79143D #707914 #147950
split-complementary
#1D1479 #795014 #3D7914
monochromatic
#06041A #100B44 #1D1479 #2A1DAE #3B2BDC

Accessibility & contrast

On white

14.70
#1D1479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D1479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1479
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1479#FFFFFF#000000##FFFFFF
##1D14791.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d1479;
/* rgb */ color: rgb(29, 20, 121);
/* oklch */ color: oklch(29.4% 0.159 274.5);
Tailwind
colors: {
  custom: {
    50: '#6a55a1',
    500: '#1d1479',
    950: '#000000',
  },
}
SCSS
$custom: #1d1479;
$custom-light: #6a55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1479",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 245.347,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29449,
    "c": 0.15892,
    "h": 274.5
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#1D1479
secondary
#A4AF3A
accent
#EE39DE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1D1479

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

Preview Lab → · Contrast checker → · Palette generator →

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