#1D1979#1D1979

#1D1979 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.154 H 273.8°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#1D1979
RGBrgb(29, 25, 121)
HSLhsl(243, 66%, 29%)
HSVhsv(243, 79%, 47%)
CMYKcmyk(76%, 79.3%, 0%, 52.5%)
CIE-LABlab(17.16, 35.28, -53.22)
CIE-LCHlch(17.16, 63.85, 303.54°)
OKLaboklab(30.11% 0.0102 -0.1539)
OKLCHoklch(30.11% 0.154 273.8)
XYZxyz(4.3044, 2.3365, 18.3096)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1979 #757919
analogous
#194579 #1D1979 #4D1979
triadic
#1D1979 #791D19 #19791D
tetradic
#1D1979 #791945 #757919 #19794D
square
#1D1979 #791945 #757919 #19794D
split-complementary
#1D1979 #794D19 #457919
monochromatic
#060519 #110F46 #1D1979 #2923AC #3D37D6

Accessibility & contrast

On white

14.31
#1D1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1D1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1979
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1979#FFFFFF#000000##FFFFFF
##1D19791.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1979;
/* rgb */ color: rgb(29, 25, 121);
/* oklch */ color: oklch(30.1% 0.154 273.8);
Tailwind
colors: {
  custom: {
    50: '#6a57a1',
    500: '#1d1979',
    950: '#000000',
  },
}
SCSS
$custom: #1d1979;
$custom-light: #6a57a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1979",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 242.5,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30113,
    "c": 0.15429,
    "h": 273.8
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#1D1979
secondary
#A9AE40
accent
#E93FE2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1D1979

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

Preview Lab → · Contrast checker → · Palette generator →

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