#1D2485#1D2485

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

Color values

HEX#1D2485
RGBrgb(29, 36, 133)
HSLhsl(236, 64%, 32%)
HSVhsv(236, 78%, 52%)
CMYKcmyk(78.2%, 72.9%, 0%, 47.8%)
CIE-LABlab(20.89, 32.86, -54.68)
CIE-LCHlch(20.89, 63.79, 301.00°)
OKLaboklab(33.16% 0.0026 -0.1583)
OKLCHoklch(33.16% 0.158 271)
XYZxyz(5.3698, 3.2158, 22.5235)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2485 #857E1D
analogous
#1D5885 #1D2485 #4A1D85
triadic
#1D2485 #851D24 #24851D
tetradic
#1D2485 #851D58 #857E1D #1D854A
square
#1D2485 #851D58 #857E1D #1D854A
split-complementary
#1D2485 #854A1D #58851D
monochromatic
#070921 #121653 #1D2485 #2832B7 #4650D7

Accessibility & contrast

On white

12.78
#1D2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2485
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2485#FFFFFF#000000##FFFFFF
##1D24851.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2485;
/* rgb */ color: rgb(29, 36, 133);
/* oklch */ color: oklch(33.2% 0.158 271.0);
Tailwind
colors: {
  custom: {
    50: '#6c5faa',
    500: '#1d2485',
    950: '#000000',
  },
}
SCSS
$custom: #1d2485;
$custom-light: #6c5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2485",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 235.962,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3316,
    "c": 0.15831,
    "h": 271
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2485

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

Preview Lab → · Contrast checker → · Palette generator →

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