#1D176D#1D176D

#1D176D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.141 H 275.7°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#1D176D
RGBrgb(29, 23, 109)
HSLhsl(244, 65%, 26%)
HSVhsv(244, 79%, 43%)
CMYKcmyk(73.4%, 78.9%, 0%, 57.3%)
CIE-LABlab(15.37, 32.27, -48.42)
CIE-LCHlch(15.37, 58.19, 303.68°)
OKLaboklab(28.44% 0.0141 -0.14)
OKLCHoklch(28.44% 0.141 275.7)
XYZxyz(3.5725, 1.9778, 14.6585)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D176D #676D17
analogous
#173C6D #1D176D #48176D
triadic
#1D176D #6D1D17 #176D1D
tetradic
#1D176D #6D173C #676D17 #176D48
square
#1D176D #6D173C #676D17 #176D48
split-complementary
#1D176D #6D4817 #3C6D17
monochromatic
#070519 #100C3A #1D176D #2A22A0 #382CD2

Accessibility & contrast

On white

15.05
#1D176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1D176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D176D
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D176D#FFFFFF#000000##FFFFFF
##1D176D1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00236B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d176d;
/* rgb */ color: rgb(29, 23, 109);
/* oklch */ color: oklch(28.4% 0.141 275.7);
Tailwind
colors: {
  custom: {
    50: '#675698',
    500: '#1d176d',
    950: '#000000',
  },
}
SCSS
$custom: #1d176d;
$custom-light: #675698;
$custom-dark: #000000;
JSON
{
  "hex": "#1d176d",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 244.186,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2844,
    "c": 0.14067,
    "h": 275.7
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#1D176D
secondary
#9CA33D
accent
#E840DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D176D

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

Preview Lab → · Contrast checker → · Palette generator →

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