#1D2C84#1D2C84

#1D2C84 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.147 H 269.3°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#1D2C84
RGBrgb(29, 44, 132)
HSLhsl(231, 64%, 32%)
HSVhsv(231, 78%, 52%)
CMYKcmyk(78%, 66.7%, 0%, 48.2%)
CIE-LABlab(22.75, 27.19, -50.99)
CIE-LCHlch(22.75, 57.79, 298.07°)
OKLaboklab(34.48% -0.0019 -0.1475)
OKLCHoklch(34.48% 0.148 269.3)
XYZxyz(5.5708, 3.7279, 22.2513)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C84 #84751D
analogous
#1D6084 #1D2C84 #421D84
triadic
#1D2C84 #841D2C #2C841D
tetradic
#1D2C84 #841D60 #84751D #1D8442
square
#1D2C84 #841D60 #84751D #1D8442
split-complementary
#1D2C84 #84421D #60841D
monochromatic
#070B20 #121B52 #1D2C84 #283DB6 #455AD6

Accessibility & contrast

On white

12.03
#1D2C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2C84
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C84#FFFFFF#000000##FFFFFF
##1D2C841.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2c84;
/* rgb */ color: rgb(29, 44, 132);
/* oklch */ color: oklch(34.5% 0.147 269.3);
Tailwind
colors: {
  custom: {
    50: '#6b65a9',
    500: '#1d2c84',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c84;
$custom-light: #6b65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c84",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 231.262,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34483,
    "c": 0.1475,
    "h": 269.3
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

primary
#1D2C84
secondary
#B7A746
accent
#CF41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1D2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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