#1D1879#1D1879

#1D1879 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.155 H 274.0°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#1D1879
RGBrgb(29, 24, 121)
HSLhsl(243, 67%, 28%)
HSVhsv(243, 80%, 47%)
CMYKcmyk(76%, 80.2%, 0%, 52.5%)
CIE-LABlab(16.96, 35.85, -53.55)
CIE-LCHlch(16.96, 64.44, 303.80°)
OKLaboklab(29.97% 0.0107 -0.1549)
OKLCHoklch(29.97% 0.155 274)
XYZxyz(4.2834, 2.2945, 18.3026)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1879 #747918
analogous
#184379 #1D1879 #4D1879
triadic
#1D1879 #791D18 #18791D
tetradic
#1D1879 #791843 #747918 #18794D
square
#1D1879 #791843 #747918 #18794D
split-complementary
#1D1879 #794D18 #437918
monochromatic
#06051A #110E46 #1D1879 #2922AC #3D35D7

Accessibility & contrast

On white

14.39
#1D1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1D1879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1879
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1879#FFFFFF#000000##FFFFFF
##1D18791.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d1879;
/* rgb */ color: rgb(29, 24, 121);
/* oklch */ color: oklch(30.0% 0.155 274.0);
Tailwind
colors: {
  custom: {
    50: '#6a57a1',
    500: '#1d1879',
    950: '#000000',
  },
}
SCSS
$custom: #1d1879;
$custom-light: #6a57a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1879",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 243.093,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29972,
    "c": 0.15527,
    "h": 274
  },
  "luminance": 0.02295
}

Semantic roles & 50–950 ramp

primary
#1D1879
secondary
#A8AE3F
accent
#EA3EE1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1D1879

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

Preview Lab → · Contrast checker → · Palette generator →

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