#1D1B76#1D1B76

#1D1B76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.148 H 273.8°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#1D1B76
RGBrgb(29, 27, 118)
HSLhsl(241, 63%, 28%)
HSVhsv(241, 77%, 46%)
CMYKcmyk(75.4%, 77.1%, 0%, 53.7%)
CIE-LABlab(17.24, 33.04, -51.16)
CIE-LCHlch(17.24, 60.90, 302.86°)
OKLaboklab(30.07% 0.0099 -0.148)
OKLCHoklch(30.07% 0.148 273.8)
XYZxyz(4.1676, 2.3527, 17.3705)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1B76 #74761B
analogous
#1B4676 #1D1B76 #4A1B76
triadic
#1D1B76 #761D1B #1B761D
tetradic
#1D1B76 #761B46 #74761B #1B764A
square
#1D1B76 #761B46 #74761B #1B764A
split-complementary
#1D1B76 #764A1B #46761B
monochromatic
#060619 #111044 #1D1B76 #2926A8 #3D3AD2

Accessibility & contrast

On white

14.28
#1D1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1D1B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1B76
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1B76#FFFFFF#000000##FFFFFF
##1D1B761.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d1b76;
/* rgb */ color: rgb(29, 27, 118);
/* oklch */ color: oklch(30.1% 0.148 273.8);
Tailwind
colors: {
  custom: {
    50: '#69599f',
    500: '#1d1b76',
    950: '#000000',
  },
}
SCSS
$custom: #1d1b76;
$custom-light: #69599f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1b76",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 241.319,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30065,
    "c": 0.14833,
    "h": 273.8
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#1D1B76
secondary
#A8AA42
accent
#E642E2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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