#1D2976#1D2976

#1D2976 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.132 H 270.4°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#1D2976
RGBrgb(29, 41, 118)
HSLhsl(232, 61%, 29%)
HSVhsv(232, 75%, 46%)
CMYKcmyk(75.4%, 65.3%, 0%, 53.7%)
CIE-LABlab(20.65, 23.81, -45.55)
CIE-LCHlch(20.65, 51.40, 297.59°)
OKLaboklab(32.54% 0.0008 -0.1316)
OKLCHoklch(32.54% 0.132 270.4)
XYZxyz(4.5685, 3.1546, 17.5042)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2976 #766A1D
analogous
#1D5676 #1D2976 #3E1D76
triadic
#1D2976 #761D29 #29761D
tetradic
#1D2976 #761D56 #766A1D #1D763E
square
#1D2976 #761D56 #766A1D #1D763E
split-complementary
#1D2976 #763E1D #56761D
monochromatic
#060919 #111845 #1D2976 #293AA7 #3E52D0

Accessibility & contrast

On white

12.88
#1D2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D2976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2976
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2976#FFFFFF#000000##FFFFFF
##1D29761.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2976;
/* rgb */ color: rgb(29, 41, 118);
/* oklch */ color: oklch(32.5% 0.132 270.4);
Tailwind
colors: {
  custom: {
    50: '#67629e',
    500: '#1d2976',
    950: '#000000',
  },
}
SCSS
$custom: #1d2976;
$custom-light: #67629e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2976",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 231.91,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32537,
    "c": 0.13159,
    "h": 270.4
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#1D2976
secondary
#AA9C45
accent
#CE44E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1D2976

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

Preview Lab → · Contrast checker → · Palette generator →

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