#1D1B60#1D1B60

#1D1B60 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.118 H 276.7°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#1D1B60
RGBrgb(29, 27, 96)
HSLhsl(242, 56%, 24%)
HSVhsv(242, 72%, 38%)
CMYKcmyk(69.8%, 71.9%, 0%, 62.4%)
CIE-LABlab(14.90, 25.01, -40.64)
CIE-LCHlch(14.90, 47.72, 301.61°)
OKLaboklab(27.68% 0.0137 -0.1173)
OKLCHoklch(27.68% 0.118 276.7)
XYZxyz(3.0093, 1.8893, 11.2702)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1B60 #5E601B
analogous
#1B3C60 #1D1B60 #401B60
triadic
#1D1B60 #601D1B #1B601D
tetradic
#1D1B60 #601B3C #5E601B #1B6040
square
#1D1B60 #601B3C #5E601B #1B6040
split-complementary
#1D1B60 #60401B #3C601B
monochromatic
#070718 #0F0E30 #1D1B60 #2B2890 #3A36C0

Accessibility & contrast

On white

15.24
#1D1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1D1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1B60
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1B60#FFFFFF#000000##FFFFFF
##1D1B601.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d1b60;
/* rgb */ color: rgb(29, 27, 96);
/* oklch */ color: oklch(27.7% 0.118 276.7);
Tailwind
colors: {
  custom: {
    50: '#63588e',
    500: '#1d1b60',
    950: '#000000',
  },
}
SCSS
$custom: #1d1b60;
$custom-light: #63588e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1b60",
  "rgb": {
    "r": 29,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 241.739,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2768,
    "c": 0.11806,
    "h": 276.7
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#1D1B60
secondary
#939641
accent
#DF48DB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1D1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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