#1D2C87#1D2C87

#1D2C87 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.152 H 269.2°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#1D2C87
RGBrgb(29, 44, 135)
HSLhsl(232, 65%, 32%)
HSVhsv(232, 79%, 53%)
CMYKcmyk(78.5%, 67.4%, 0%, 47.1%)
CIE-LABlab(23.04, 28.35, -52.40)
CIE-LCHlch(23.04, 59.58, 298.41°)
OKLaboklab(34.78% -0.0021 -0.1516)
OKLCHoklch(34.78% 0.152 269.2)
XYZxyz(5.7790, 3.8112, 23.3480)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C87 #87781D
analogous
#1D6187 #1D2C87 #431D87
triadic
#1D2C87 #871D2C #2C871D
tetradic
#1D2C87 #871D61 #87781D #1D8743
square
#1D2C87 #871D61 #87781D #1D8743
split-complementary
#1D2C87 #87431D #61871D
monochromatic
#070B22 #121C55 #1D2C87 #283CB9 #475BD7

Accessibility & contrast

On white

11.92
#1D2C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1D2C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C87
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C87#FFFFFF#000000##FFFFFF
##1D2C871.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003285
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2c87;
/* rgb */ color: rgb(29, 44, 135);
/* oklch */ color: oklch(34.8% 0.152 269.2);
Tailwind
colors: {
  custom: {
    50: '#6b65ab',
    500: '#1d2c87',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c87;
$custom-light: #6b65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c87",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 231.509,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3478,
    "c": 0.15163,
    "h": 269.2
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#1D2C87
secondary
#B9A946
accent
#D040E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1D2C87

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

Preview Lab → · Contrast checker → · Palette generator →

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