#1D1678#1D1678

#1D1678 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.156 H 274.4°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#1D1678
RGBrgb(29, 22, 120)
HSLhsl(244, 69%, 28%)
HSVhsv(244, 82%, 47%)
CMYKcmyk(75.8%, 81.7%, 0%, 52.9%)
CIE-LABlab(16.46, 36.62, -53.74)
CIE-LCHlch(16.46, 65.03, 304.27°)
OKLaboklab(29.58% 0.0118 -0.1554)
OKLCHoklch(29.58% 0.156 274.4)
XYZxyz(4.1826, 2.1907, 17.9681)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1678 #717816
analogous
#164078 #1D1678 #4E1678
triadic
#1D1678 #781D16 #16781D
tetradic
#1D1678 #781640 #717816 #16784E
square
#1D1678 #781640 #717816 #16784E
split-complementary
#1D1678 #784E16 #407816
monochromatic
#06051A #110D44 #1D1678 #291FAC #3C2FD9

Accessibility & contrast

On white

14.60
#1D1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1678
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1678#FFFFFF#000000##FFFFFF
##1D16781.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1678;
/* rgb */ color: rgb(29, 22, 120);
/* oklch */ color: oklch(29.6% 0.156 274.4);
Tailwind
colors: {
  custom: {
    50: '#6a56a0',
    500: '#1d1678',
    950: '#000000',
  },
}
SCSS
$custom: #1d1678;
$custom-light: #6a56a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1678",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 244.286,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29584,
    "c": 0.15588,
    "h": 274.4
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#1D1678
secondary
#A5AD3C
accent
#EC3CDF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1D1678

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

Preview Lab → · Contrast checker → · Palette generator →

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