#1D2484#1D2484

#1D2484 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.157 H 271.0°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1D2484
RGBrgb(29, 36, 132)
HSLhsl(236, 64%, 32%)
HSVhsv(236, 78%, 52%)
CMYKcmyk(78%, 72.7%, 0%, 48.2%)
CIE-LABlab(20.78, 32.49, -54.23)
CIE-LCHlch(20.78, 63.21, 300.93°)
OKLaboklab(33.05% 0.0028 -0.157)
OKLCHoklch(33.05% 0.157 271)
XYZxyz(5.3010, 3.1883, 22.1614)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2484 #847D1D
analogous
#1D5884 #1D2484 #4A1D84
triadic
#1D2484 #841D24 #24841D
tetradic
#1D2484 #841D58 #847D1D #1D844A
square
#1D2484 #841D58 #847D1D #1D844A
split-complementary
#1D2484 #844A1D #58841D
monochromatic
#070920 #121652 #1D2484 #2832B6 #454FD6

Accessibility & contrast

On white

12.82
#1D2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2484
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2484#FFFFFF#000000##FFFFFF
##1D24841.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2484;
/* rgb */ color: rgb(29, 36, 132);
/* oklch */ color: oklch(33.1% 0.157 271.0);
Tailwind
colors: {
  custom: {
    50: '#6b5fa9',
    500: '#1d2484',
    950: '#000000',
  },
}
SCSS
$custom: #1d2484;
$custom-light: #6b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2484",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 235.922,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33053,
    "c": 0.15698,
    "h": 271
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#1D2484
secondary
#B7AF46
accent
#DC41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2484

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

Preview Lab → · Contrast checker → · Palette generator →

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