#1D2496#1D2496

#1D2496 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.180 H 270.0°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#1D2496
RGBrgb(29, 36, 150)
HSLhsl(237, 68%, 35%)
HSVhsv(237, 81%, 59%)
CMYKcmyk(80.7%, 76%, 0%, 41.2%)
CIE-LABlab(22.74, 38.96, -62.21)
CIE-LCHlch(22.74, 73.40, 302.06°)
OKLaboklab(35.03% 0.0001 -0.1802)
OKLCHoklch(35.03% 0.18 270)
XYZxyz(6.6407, 3.7242, 29.2171)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2496 #968F1D
analogous
#1D6096 #1D2496 #531D96
triadic
#1D2496 #961D24 #24961D
tetradic
#1D2496 #961D60 #968F1D #1D9653
square
#1D2496 #961D60 #968F1D #1D9653
split-complementary
#1D2496 #96531D #60961D
monochromatic
#090B2F #131863 #1D2496 #2730C9 #5058DD

Accessibility & contrast

On white

12.03
#1D2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D2496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2496
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2496#FFFFFF#000000##FFFFFF
##1D24961.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2496;
/* rgb */ color: rgb(29, 36, 150);
/* oklch */ color: oklch(35.0% 0.180 270.0);
Tailwind
colors: {
  custom: {
    50: '#7060b6',
    500: '#1d2496',
    950: '#000000',
  },
}
SCSS
$custom: #1d2496;
$custom-light: #7060b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2496",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 236.529,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35032,
    "c": 0.1802,
    "h": 270
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#1D2496
secondary
#C0B94F
accent
#E03DEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2496

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

Preview Lab → · Contrast checker → · Palette generator →

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