#1D1B79#1D1B79

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

Color values

HEX#1D1B79
RGBrgb(29, 27, 121)
HSLhsl(241, 64%, 29%)
HSVhsv(241, 78%, 47%)
CMYKcmyk(76%, 77.7%, 0%, 52.5%)
CIE-LABlab(17.58, 34.11, -52.53)
CIE-LCHlch(17.58, 62.63, 302.99°)
OKLaboklab(30.4% 0.0093 -0.152)
OKLCHoklch(30.4% 0.152 273.5)
XYZxyz(4.3487, 2.4251, 18.3244)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1B79 #77791B
analogous
#1B4879 #1D1B79 #4C1B79
triadic
#1D1B79 #791D1B #1B791D
tetradic
#1D1B79 #791B48 #77791B #1B794C
square
#1D1B79 #791B48 #77791B #1B794C
split-complementary
#1D1B79 #794C1B #48791B
monochromatic
#060619 #111047 #1D1B79 #2926AB #3E3BD3

Accessibility & contrast

On white

14.14
#1D1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1B79
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1B79#FFFFFF#000000##FFFFFF
##1D1B791.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d1b79;
/* rgb */ color: rgb(29, 27, 121);
/* oklch */ color: oklch(30.4% 0.152 273.5);
Tailwind
colors: {
  custom: {
    50: '#6959a1',
    500: '#1d1b79',
    950: '#000000',
  },
}
SCSS
$custom: #1d1b79;
$custom-light: #6959a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1b79",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 241.277,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30405,
    "c": 0.15226,
    "h": 273.5
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#1D1B79
secondary
#ABAD43
accent
#E741E3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1D1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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