#1D1576#1D1576

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

Color values

HEX#1D1576
RGBrgb(29, 21, 118)
HSLhsl(245, 70%, 27%)
HSVhsv(245, 82%, 46%)
CMYKcmyk(75.4%, 82.2%, 0%, 53.7%)
CIE-LABlab(16.03, 36.49, -53.16)
CIE-LCHlch(16.03, 64.48, 304.47°)
OKLaboklab(29.21% 0.0128 -0.1537)
OKLCHoklch(29.21% 0.154 274.8)
XYZxyz(4.0438, 2.1051, 17.3292)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1576 #6E7615
analogous
#153E76 #1D1576 #4D1576
triadic
#1D1576 #761D15 #15761D
tetradic
#1D1576 #76153E #6E7615 #15764D
square
#1D1576 #76153E #6E7615 #15764D
split-complementary
#1D1576 #764D15 #3E7615
monochromatic
#06051A #100C42 #1D1576 #2A1EAA #3A2CD9

Accessibility & contrast

On white

14.78
#1D1576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1576
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1576#FFFFFF#000000##FFFFFF
##1D15761.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d1576;
/* rgb */ color: rgb(29, 21, 118);
/* oklch */ color: oklch(29.2% 0.154 274.8);
Tailwind
colors: {
  custom: {
    50: '#69559f',
    500: '#1d1576',
    950: '#000000',
  },
}
SCSS
$custom: #1d1576;
$custom-light: #69559f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1576",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 244.948,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29214,
    "c": 0.15427,
    "h": 274.8
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#1D1576
secondary
#A2AC3B
accent
#ED3BDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1576

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

Preview Lab → · Contrast checker → · Palette generator →

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