#1D2B81#1D2B81

#1D2B81 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.145 H 269.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1D2B81
RGBrgb(29, 43, 129)
HSLhsl(232, 63%, 31%)
HSVhsv(232, 78%, 51%)
CMYKcmyk(77.5%, 66.7%, 0%, 49.4%)
CIE-LABlab(22.21, 26.71, -50.00)
CIE-LCHlch(22.21, 56.68, 298.12°)
OKLaboklab(34% -0.0011 -0.1446)
OKLCHoklch(34% 0.145 269.6)
XYZxyz(5.3317, 3.5734, 21.1734)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B81 #81731D
analogous
#1D5D81 #1D2B81 #411D81
triadic
#1D2B81 #811D2B #2B811D
tetradic
#1D2B81 #811D5D #81731D #1D8141
square
#1D2B81 #811D5D #81731D #1D8141
split-complementary
#1D2B81 #81411D #5D811D
monochromatic
#070A1D #121A4F #1D2B81 #283CB3 #4458D5

Accessibility & contrast

On white

12.25
#1D2B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D2B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B81
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B81#FFFFFF#000000##FFFFFF
##1D2B811.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#00307F
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2b81;
/* rgb */ color: rgb(29, 43, 129);
/* oklch */ color: oklch(34.0% 0.145 269.6);
Tailwind
colors: {
  custom: {
    50: '#6a64a6',
    500: '#1d2b81',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b81;
$custom-light: #6a64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b81",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 231.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33997,
    "c": 0.14458,
    "h": 269.6
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#1D2B81
secondary
#B4A546
accent
#CF41E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2B81

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

Preview Lab → · Contrast checker → · Palette generator →

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