#1D1673#1D1673

#1D1673 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.150 H 275.0°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#1D1673
RGBrgb(29, 22, 115)
HSLhsl(245, 68%, 27%)
HSVhsv(245, 81%, 45%)
CMYKcmyk(74.8%, 80.9%, 0%, 54.9%)
CIE-LABlab(15.86, 34.92, -51.50)
CIE-LCHlch(15.86, 62.23, 304.14°)
OKLaboklab(28.99% 0.0131 -0.1489)
OKLCHoklch(28.99% 0.15 275)
XYZxyz(3.8871, 2.0725, 16.4115)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1673 #6C7316
analogous
#163E73 #1D1673 #4C1673
triadic
#1D1673 #731D16 #16731D
tetradic
#1D1673 #73163E #6C7316 #16734C
square
#1D1673 #73163E #6C7316 #16734C
split-complementary
#1D1673 #734C16 #3E7316
monochromatic
#06051A #100C40 #1D1673 #2A20A6 #392DD7

Accessibility & contrast

On white

14.85
#1D1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1673
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1673#FFFFFF#000000##FFFFFF
##1D16731.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d1673;
/* rgb */ color: rgb(29, 22, 115);
/* oklch */ color: oklch(29.0% 0.150 275.0);
Tailwind
colors: {
  custom: {
    50: '#68559c',
    500: '#1d1673',
    950: '#000000',
  },
}
SCSS
$custom: #1d1673;
$custom-light: #68559c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1673",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 244.516,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28993,
    "c": 0.14951,
    "h": 275
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

primary
#1D1673
secondary
#A1A93C
accent
#EB3DDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1673

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

Preview Lab → · Contrast checker → · Palette generator →

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