#1D2B87#1D2B87

#1D2B87 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.153 H 269.5°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1D2B87
RGBrgb(29, 43, 135)
HSLhsl(232, 65%, 32%)
HSVhsv(232, 79%, 53%)
CMYKcmyk(78.5%, 68.1%, 0%, 47.1%)
CIE-LABlab(22.78, 29.02, -52.82)
CIE-LCHlch(22.78, 60.27, 298.79°)
OKLaboklab(34.6% -0.0015 -0.1528)
OKLCHoklch(34.6% 0.153 269.5)
XYZxyz(5.7422, 3.7376, 23.3358)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B87 #87791D
analogous
#1D6087 #1D2B87 #441D87
triadic
#1D2B87 #871D2B #2B871D
tetradic
#1D2B87 #871D60 #87791D #1D8744
square
#1D2B87 #871D60 #87791D #1D8744
split-complementary
#1D2B87 #87441D #60871D
monochromatic
#070B22 #121B55 #1D2B87 #283BB9 #475AD7

Accessibility & contrast

On white

12.02
#1D2B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D2B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B87
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B87#FFFFFF#000000##FFFFFF
##1D2B871.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2b87;
/* rgb */ color: rgb(29, 43, 135);
/* oklch */ color: oklch(34.6% 0.153 269.5);
Tailwind
colors: {
  custom: {
    50: '#6c64ab',
    500: '#1d2b87',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b87;
$custom-light: #6c64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b87",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 232.075,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34595,
    "c": 0.15285,
    "h": 269.5
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#1D2B87
secondary
#B9AA46
accent
#D240E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1D2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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