#1D2F84#1D2F84

#1D2F84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.144 H 268.5°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#1D2F84
RGBrgb(29, 47, 132)
HSLhsl(230, 64%, 32%)
HSVhsv(230, 78%, 52%)
CMYKcmyk(78%, 64.4%, 0%, 48.2%)
CIE-LABlab(23.54, 25.14, -49.70)
CIE-LCHlch(23.54, 55.70, 296.83°)
OKLaboklab(35.06% -0.0039 -0.1437)
OKLCHoklch(35.06% 0.144 268.5)
XYZxyz(5.6866, 3.9596, 22.2899)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F84 #84721D
analogous
#1D6384 #1D2F84 #3F1D84
triadic
#1D2F84 #841D2F #2F841D
tetradic
#1D2F84 #841D63 #84721D #1D843F
square
#1D2F84 #841D63 #84721D #1D843F
split-complementary
#1D2F84 #843F1D #63841D
monochromatic
#070B20 #121D52 #1D2F84 #2841B6 #455FD6

Accessibility & contrast

On white

11.72
#1D2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F84
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F84#FFFFFF#000000##FFFFFF
##1D2F841.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2f84;
/* rgb */ color: rgb(29, 47, 132);
/* oklch */ color: oklch(35.1% 0.144 268.5);
Tailwind
colors: {
  custom: {
    50: '#6a67a9',
    500: '#1d2f84',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f84;
$custom-light: #6a67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f84",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 229.515,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35062,
    "c": 0.14374,
    "h": 268.5
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#1D2F84
secondary
#B7A346
accent
#CA41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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