#1D1671#1D1671

#1D1671 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.147 H 275.3°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#1D1671
RGBrgb(29, 22, 113)
HSLhsl(245, 67%, 26%)
HSVhsv(245, 81%, 44%)
CMYKcmyk(74.3%, 80.5%, 0%, 55.7%)
CIE-LABlab(15.63, 34.24, -50.59)
CIE-LCHlch(15.63, 61.09, 304.09°)
OKLaboklab(28.76% 0.0136 -0.1463)
OKLCHoklch(28.76% 0.147 275.3)
XYZxyz(3.7733, 2.0269, 15.8120)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1671 #6A7116
analogous
#163D71 #1D1671 #4B1671
triadic
#1D1671 #711D16 #16711D
tetradic
#1D1671 #71163D #6A7116 #16714B
square
#1D1671 #71163D #6A7116 #16714B
split-complementary
#1D1671 #714B16 #3D7116
monochromatic
#07051A #100C3E #1D1671 #2A20A4 #392CD6

Accessibility & contrast

On white

14.94
#1D1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1D1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1671
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1671#FFFFFF#000000##FFFFFF
##1D16711.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d1671;
/* rgb */ color: rgb(29, 22, 113);
/* oklch */ color: oklch(28.8% 0.147 275.3);
Tailwind
colors: {
  custom: {
    50: '#68559b',
    500: '#1d1671',
    950: '#000000',
  },
}
SCSS
$custom: #1d1671;
$custom-light: #68559b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1671",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 244.615,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28758,
    "c": 0.14692,
    "h": 275.3
  },
  "luminance": 0.02027
}

Semantic roles & 50–950 ramp

primary
#1D1671
secondary
#9FA73C
accent
#EA3EDD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1671

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

Preview Lab → · Contrast checker → · Palette generator →

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