#1D2D84#1D2D84

#1D2D84 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.146 H 269.0°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#1D2D84
RGBrgb(29, 45, 132)
HSLhsl(231, 64%, 32%)
HSVhsv(231, 78%, 52%)
CMYKcmyk(78%, 65.9%, 0%, 48.2%)
CIE-LABlab(23.01, 26.51, -50.57)
CIE-LCHlch(23.01, 57.10, 297.67°)
OKLaboklab(34.67% -0.0025 -0.1462)
OKLCHoklch(34.67% 0.146 269)
XYZxyz(5.6085, 3.8033, 22.2639)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D84 #84741D
analogous
#1D6184 #1D2D84 #411D84
triadic
#1D2D84 #841D2D #2D841D
tetradic
#1D2D84 #841D61 #84741D #1D8441
square
#1D2D84 #841D61 #84741D #1D8441
split-complementary
#1D2D84 #84411D #61841D
monochromatic
#070B20 #121C52 #1D2D84 #283EB6 #455CD6

Accessibility & contrast

On white

11.93
#1D2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2D84
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D84#FFFFFF#000000##FFFFFF
##1D2D841.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2d84;
/* rgb */ color: rgb(29, 45, 132);
/* oklch */ color: oklch(34.7% 0.146 269.0);
Tailwind
colors: {
  custom: {
    50: '#6b65a9',
    500: '#1d2d84',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d84;
$custom-light: #6b65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d84",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 230.68,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34673,
    "c": 0.14626,
    "h": 269
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#1D2D84
secondary
#B7A546
accent
#CD41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1D2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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