#1D1477#1D1477

#1D1477 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.156 H 274.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#1D1477
RGBrgb(29, 20, 119)
HSLhsl(245, 71%, 27%)
HSVhsv(245, 83%, 47%)
CMYKcmyk(75.6%, 83.2%, 0%, 53.3%)
CIE-LABlab(15.97, 37.36, -53.91)
CIE-LCHlch(15.97, 65.59, 304.72°)
OKLaboklab(29.21% 0.013 -0.1559)
OKLCHoklch(29.21% 0.156 274.7)
XYZxyz(4.0855, 2.0930, 17.6379)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1477 #6E7714
analogous
#143C77 #1D1477 #4F1477
triadic
#1D1477 #771D14 #14771D
tetradic
#1D1477 #77143C #6E7714 #14774F
square
#1D1477 #77143C #6E7714 #14774F
split-complementary
#1D1477 #774F14 #3C7714
monochromatic
#06041A #100B43 #1D1477 #2A1DAB #3A2ADB

Accessibility & contrast

On white

14.80
#1D1477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1D1477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1477
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1477#FFFFFF#000000##FFFFFF
##1D14771.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002375
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d1477;
/* rgb */ color: rgb(29, 20, 119);
/* oklch */ color: oklch(29.2% 0.156 274.7);
Tailwind
colors: {
  custom: {
    50: '#6a549f',
    500: '#1d1477',
    950: '#000000',
  },
}
SCSS
$custom: #1d1477;
$custom-light: #6a549f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1477",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 245.455,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29207,
    "c": 0.15643,
    "h": 274.7
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#1D1477
secondary
#A2AD3A
accent
#EE3ADE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1477

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

Preview Lab → · Contrast checker → · Palette generator →

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