#1D1471#1D1471

#1D1471 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.149 H 275.6°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#1D1471
RGBrgb(29, 20, 113)
HSLhsl(246, 70%, 26%)
HSVhsv(246, 82%, 44%)
CMYKcmyk(74.3%, 82.3%, 0%, 55.7%)
CIE-LABlab(15.24, 35.35, -51.23)
CIE-LCHlch(15.24, 62.25, 304.61°)
OKLaboklab(28.49% 0.0146 -0.1481)
OKLCHoklch(28.49% 0.149 275.6)
XYZxyz(3.7365, 1.9534, 15.7997)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1471 #687114
analogous
#143971 #1D1471 #4B1471
triadic
#1D1471 #711D14 #14711D
tetradic
#1D1471 #711439 #687114 #14714B
square
#1D1471 #711439 #687114 #14714B
split-complementary
#1D1471 #714B14 #397114
monochromatic
#07051A #100B3D #1D1471 #2A1DA5 #3827D9

Accessibility & contrast

On white

15.10
#1D1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1D1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1471
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1471#FFFFFF#000000##FFFFFF
##1D14711.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d1471;
/* rgb */ color: rgb(29, 20, 113);
/* oklch */ color: oklch(28.5% 0.149 275.6);
Tailwind
colors: {
  custom: {
    50: '#68549b',
    500: '#1d1471',
    950: '#000000',
  },
}
SCSS
$custom: #1d1471;
$custom-light: #68549b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1471",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 245.806,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28487,
    "c": 0.14885,
    "h": 275.6
  },
  "luminance": 0.01954
}

Semantic roles & 50–950 ramp

primary
#1D1471
secondary
#9DA739
accent
#ED3BDC
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1471

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

Preview Lab → · Contrast checker → · Palette generator →

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