#1D176A#1D176A

#1D176A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.137 H 276.2°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#1D176A
RGBrgb(29, 23, 106)
HSLhsl(244, 64%, 25%)
HSVhsv(244, 78%, 42%)
CMYKcmyk(72.6%, 78.3%, 0%, 58.4%)
CIE-LABlab(15.03, 31.22, -47.02)
CIE-LCHlch(15.03, 56.43, 303.58°)
OKLaboklab(28.1% 0.0147 -0.1359)
OKLCHoklch(28.1% 0.137 276.2)
XYZxyz(3.4138, 1.9143, 13.8225)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D176A #646A17
analogous
#173B6A #1D176A #46176A
triadic
#1D176A #6A1D17 #176A1D
tetradic
#1D176A #6A173B #646A17 #176A46
square
#1D176A #6A173B #646A17 #176A46
split-complementary
#1D176A #6A4617 #3B6A17
monochromatic
#070519 #0F0C38 #1D176A #2B229C #392DCF

Accessibility & contrast

On white

15.18
#1D176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1D176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D176A
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D176A#FFFFFF#000000##FFFFFF
##1D176A1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d176a;
/* rgb */ color: rgb(29, 23, 106);
/* oklch */ color: oklch(28.1% 0.137 276.2);
Tailwind
colors: {
  custom: {
    50: '#665596',
    500: '#1d176a',
    950: '#000000',
  },
}
SCSS
$custom: #1d176a;
$custom-light: #665596;
$custom-dark: #000000;
JSON
{
  "hex": "#1d176a",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 244.337,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28099,
    "c": 0.13668,
    "h": 276.2
  },
  "luminance": 0.01915
}

Semantic roles & 50–950 ramp

primary
#1D176A
secondary
#99A03D
accent
#E740DB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1D176A

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

Preview Lab → · Contrast checker → · Palette generator →

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