#1D1676#1D1676

#1D1676 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.153 H 274.6°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#1D1676
RGBrgb(29, 22, 118)
HSLhsl(244, 69%, 27%)
HSVhsv(244, 81%, 46%)
CMYKcmyk(75.4%, 81.4%, 0%, 53.7%)
CIE-LABlab(16.22, 35.95, -52.85)
CIE-LCHlch(16.22, 63.92, 304.22°)
OKLaboklab(29.35% 0.0124 -0.1529)
OKLCHoklch(29.35% 0.153 274.6)
XYZxyz(4.0625, 2.1426, 17.3355)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1676 #6F7616
analogous
#163F76 #1D1676 #4D1676
triadic
#1D1676 #761D16 #16761D
tetradic
#1D1676 #76163F #6F7616 #16764D
square
#1D1676 #76163F #6F7616 #16764D
split-complementary
#1D1676 #764D16 #3F7616
monochromatic
#06051A #100C42 #1D1676 #2A20AA #3B2ED8

Accessibility & contrast

On white

14.70
#1D1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1676
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1676#FFFFFF#000000##FFFFFF
##1D16761.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d1676;
/* rgb */ color: rgb(29, 22, 118);
/* oklch */ color: oklch(29.3% 0.153 274.6);
Tailwind
colors: {
  custom: {
    50: '#69569f',
    500: '#1d1676',
    950: '#000000',
  },
}
SCSS
$custom: #1d1676;
$custom-light: #69569f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1676",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 244.375,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29346,
    "c": 0.15335,
    "h": 274.6
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#1D1676
secondary
#A3AC3C
accent
#EB3CDF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1676

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

Preview Lab → · Contrast checker → · Palette generator →

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