#1D1A79#1D1A79

#1D1A79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.153 H 273.7°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#1D1A79
RGBrgb(29, 26, 121)
HSLhsl(242, 65%, 29%)
HSVhsv(242, 79%, 47%)
CMYKcmyk(76%, 78.5%, 0%, 52.5%)
CIE-LABlab(17.37, 34.70, -52.88)
CIE-LCHlch(17.37, 63.24, 303.27°)
OKLaboklab(30.26% 0.0098 -0.153)
OKLCHoklch(30.26% 0.153 273.7)
XYZxyz(4.3261, 2.3800, 18.3169)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A79 #76791A
analogous
#1A4779 #1D1A79 #4D1A79
triadic
#1D1A79 #791D1A #1A791D
tetradic
#1D1A79 #791A47 #76791A #1A794D
square
#1D1A79 #791A47 #76791A #1A794D
split-complementary
#1D1A79 #794D1A #47791A
monochromatic
#060519 #110F47 #1D1A79 #2925AB #3E39D4

Accessibility & contrast

On white

14.23
#1D1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1D1A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1A79
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A79#FFFFFF#000000##FFFFFF
##1D1A791.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d1a79;
/* rgb */ color: rgb(29, 26, 121);
/* oklch */ color: oklch(30.3% 0.153 273.7);
Tailwind
colors: {
  custom: {
    50: '#6a58a1',
    500: '#1d1a79',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a79;
$custom-light: #6a58a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a79",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 241.895,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30257,
    "c": 0.15329,
    "h": 273.7
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#1D1A79
secondary
#AAAD41
accent
#E840E2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1D1A79

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

Preview Lab → · Contrast checker → · Palette generator →

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