#1D2E84#1D2E84

#1D2E84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.145 H 268.7°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1D2E84
RGBrgb(29, 46, 132)
HSLhsl(230, 64%, 32%)
HSVhsv(230, 78%, 52%)
CMYKcmyk(78%, 65.2%, 0%, 48.2%)
CIE-LABlab(23.27, 25.83, -50.14)
CIE-LCHlch(23.27, 56.40, 297.25°)
OKLaboklab(34.87% -0.0032 -0.145)
OKLCHoklch(34.87% 0.145 268.7)
XYZxyz(5.6471, 3.8805, 22.2767)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E84 #84731D
analogous
#1D6284 #1D2E84 #401D84
triadic
#1D2E84 #841D2E #2E841D
tetradic
#1D2E84 #841D62 #84731D #1D8440
square
#1D2E84 #841D62 #84731D #1D8440
split-complementary
#1D2E84 #84401D #62841D
monochromatic
#070B20 #121D52 #1D2E84 #283FB6 #455DD6

Accessibility & contrast

On white

11.82
#1D2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1D2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E84
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E84#FFFFFF#000000##FFFFFF
##1D2E841.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2e84;
/* rgb */ color: rgb(29, 46, 132);
/* oklch */ color: oklch(34.9% 0.145 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a66a9',
    500: '#1d2e84',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e84;
$custom-light: #6a66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e84",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 230.097,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34866,
    "c": 0.14501,
    "h": 268.7
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#1D2E84
secondary
#B7A446
accent
#CC41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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