#1D164D#1D164D

#1D164D is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.097 H 282.5°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#1D164D
RGBrgb(29, 22, 77)
HSLhsl(248, 56%, 19%)
HSVhsv(248, 71%, 30%)
CMYKcmyk(62.3%, 71.4%, 0%, 69.8%)
CIE-LABlab(11.76, 21.37, -32.91)
CIE-LCHlch(11.76, 39.23, 303.00°)
OKLaboklab(24.83% 0.021 -0.0946)
OKLCHoklch(24.83% 0.097 282.5)
XYZxyz(2.1327, 1.3707, 7.1719)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D164D #464D16
analogous
#162B4D #1D164D #39164D
triadic
#1D164D #4D1D16 #164D1D
tetradic
#1D164D #4D162B #464D16 #164D39
square
#1D164D #4D162B #464D16 #164D39
split-complementary
#1D164D #4D3916 #2B4D16
monochromatic
#090718 #0B081D #1D164D #2F247D #4131AC

Accessibility & contrast

On white

16.48
#1D164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1D164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D164D
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D164D#FFFFFF#000000##FFFFFF
##1D164D1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#001D4C
Tritanopia (blue-blind)
#05242F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1d164d;
/* rgb */ color: rgb(29, 22, 77);
/* oklch */ color: oklch(24.8% 0.097 282.5);
Tailwind
colors: {
  custom: {
    50: '#5f537f',
    500: '#1d164d',
    950: '#000000',
  },
}
SCSS
$custom: #1d164d;
$custom-light: #5f537f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d164d",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 247.636,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24834,
    "c": 0.0969,
    "h": 282.5
  },
  "luminance": 0.01371
}

Semantic roles & 50–950 ramp

primary
#1D164D
secondary
#7B853A
accent
#DF49CC
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1D164D

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

Preview Lab → · Contrast checker → · Palette generator →

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