#1D1B95#1D1B95

#1D1B95 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.187 H 271.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#1D1B95
RGBrgb(29, 27, 149)
HSLhsl(241, 69%, 35%)
HSVhsv(241, 82%, 58%)
CMYKcmyk(80.5%, 81.9%, 0%, 41.6%)
CIE-LABlab(20.88, 43.61, -64.67)
CIE-LCHlch(20.88, 77.99, 303.99°)
OKLaboklab(33.69% 0.0032 -0.1872)
OKLCHoklch(33.69% 0.187 271)
XYZxyz(6.3216, 3.2143, 28.7152)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1B95 #93951B
analogous
#1B5695 #1D1B95 #5A1B95
triadic
#1D1B95 #951D1B #1B951D
tetradic
#1D1B95 #951B56 #93951B #1B955A
square
#1D1B95 #951B56 #93951B #1B955A
split-complementary
#1D1B95 #955A1B #56951B
monochromatic
#09082D #131261 #1D1B95 #2724C9 #4E4CDF

Accessibility & contrast

On white

12.78
#1D1B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D1B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1B95
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1B95#FFFFFF#000000##FFFFFF
##1D1B951.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003898
Deuteranopia (green-blind)
#002C93
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d1b95;
/* rgb */ color: rgb(29, 27, 149);
/* oklch */ color: oklch(33.7% 0.187 271.0);
Tailwind
colors: {
  custom: {
    50: '#715bb5',
    500: '#1d1b95',
    950: '#000000',
  },
}
SCSS
$custom: #1d1b95;
$custom-light: #715bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1b95",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 240.984,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.33692,
    "c": 0.18723,
    "h": 271
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#1D1B95
secondary
#BFC14B
accent
#EC3CE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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