#1D1677#1D1677

#1D1677 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.155 H 274.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#1D1677
RGBrgb(29, 22, 119)
HSLhsl(244, 69%, 28%)
HSVhsv(244, 82%, 47%)
CMYKcmyk(75.6%, 81.5%, 0%, 53.3%)
CIE-LABlab(16.34, 36.29, -53.30)
CIE-LCHlch(16.34, 64.47, 304.25°)
OKLaboklab(29.47% 0.0121 -0.1541)
OKLCHoklch(29.47% 0.155 274.5)
XYZxyz(4.1223, 2.1665, 17.6501)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1677 #707716
analogous
#163F77 #1D1677 #4D1677
triadic
#1D1677 #771D16 #16771D
tetradic
#1D1677 #77163F #707716 #16774D
square
#1D1677 #77163F #707716 #16774D
split-complementary
#1D1677 #774D16 #3F7716
monochromatic
#06051A #100C43 #1D1677 #2A20AB #3B2FD9

Accessibility & contrast

On white

14.65
#1D1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D1677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1677
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1677#FFFFFF#000000##FFFFFF
##1D16771.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002475
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d1677;
/* rgb */ color: rgb(29, 22, 119);
/* oklch */ color: oklch(29.5% 0.155 274.5);
Tailwind
colors: {
  custom: {
    50: '#69569f',
    500: '#1d1677',
    950: '#000000',
  },
}
SCSS
$custom: #1d1677;
$custom-light: #69569f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1677",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 244.33,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29465,
    "c": 0.15461,
    "h": 274.5
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#1D1677
secondary
#A4AC3C
accent
#EC3CDF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1677

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

Preview Lab → · Contrast checker → · Palette generator →

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