#1D1679#1D1679

#1D1679 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.157 H 274.2°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#1D1679
RGBrgb(29, 22, 121)
HSLhsl(244, 69%, 28%)
HSVhsv(244, 82%, 47%)
CMYKcmyk(76%, 81.8%, 0%, 52.5%)
CIE-LABlab(16.58, 36.96, -54.18)
CIE-LCHlch(16.58, 65.59, 304.30°)
OKLaboklab(29.7% 0.0116 -0.1567)
OKLCHoklch(29.7% 0.157 274.2)
XYZxyz(4.2436, 2.2151, 18.2894)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1679 #727916
analogous
#164179 #1D1679 #4E1679
triadic
#1D1679 #791D16 #16791D
tetradic
#1D1679 #791641 #727916 #16794E
square
#1D1679 #791641 #727916 #16794E
split-complementary
#1D1679 #794E16 #417916
monochromatic
#06051A #110D45 #1D1679 #291FAD #3C30D9

Accessibility & contrast

On white

14.55
#1D1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1D1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1679
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1679#FFFFFF#000000##FFFFFF
##1D16791.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1679;
/* rgb */ color: rgb(29, 22, 121);
/* oklch */ color: oklch(29.7% 0.157 274.2);
Tailwind
colors: {
  custom: {
    50: '#6a56a1',
    500: '#1d1679',
    950: '#000000',
  },
}
SCSS
$custom: #1d1679;
$custom-light: #6a56a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1679",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 244.242,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29703,
    "c": 0.15715,
    "h": 274.2
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#1D1679
secondary
#A6AE3D
accent
#EC3CE0
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1D1679

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

Preview Lab → · Contrast checker → · Palette generator →

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