#1D2996#1D2996

#1D2996 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.175 H 269.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#1D2996
RGBrgb(29, 41, 150)
HSLhsl(234, 68%, 35%)
HSVhsv(234, 81%, 59%)
CMYKcmyk(80.7%, 72.7%, 0%, 41.2%)
CIE-LABlab(23.83, 35.91, -60.41)
CIE-LCHlch(23.83, 70.28, 300.73°)
OKLaboklab(35.81% -0.0019 -0.175)
OKLCHoklch(35.81% 0.175 269.4)
XYZxyz(6.8028, 4.0483, 29.2711)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2996 #968A1D
analogous
#1D6596 #1D2996 #4E1D96
triadic
#1D2996 #961D29 #29961D
tetradic
#1D2996 #961D65 #968A1D #1D964E
square
#1D2996 #961D65 #968A1D #1D964E
split-complementary
#1D2996 #964E1D #65961D
monochromatic
#090D2F #131B63 #1D2996 #2737C9 #505EDD

Accessibility & contrast

On white

11.60
#1D2996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1D2996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2996
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2996#FFFFFF#000000##FFFFFF
##1D29961.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d2996;
/* rgb */ color: rgb(29, 41, 150);
/* oklch */ color: oklch(35.8% 0.175 269.4);
Tailwind
colors: {
  custom: {
    50: '#7063b6',
    500: '#1d2996',
    950: '#000000',
  },
}
SCSS
$custom: #1d2996;
$custom-light: #7063b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2996",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 234.05,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35813,
    "c": 0.17499,
    "h": 269.4
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#1D2996
secondary
#C0B54F
accent
#D93DEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2996

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

Preview Lab → · Contrast checker → · Palette generator →

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