#1D2973#1D2973

#1D2973 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.127 H 270.4°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#1D2973
RGBrgb(29, 41, 115)
HSLhsl(232, 60%, 28%)
HSVhsv(232, 75%, 45%)
CMYKcmyk(74.8%, 64.3%, 0%, 54.9%)
CIE-LABlab(20.38, 22.63, -44.08)
CIE-LCHlch(20.38, 49.55, 297.18°)
OKLaboklab(32.25% 0.0009 -0.1273)
OKLCHoklch(32.25% 0.127 270.4)
XYZxyz(4.3931, 3.0844, 16.5802)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2973 #73671D
analogous
#1D5473 #1D2973 #3C1D73
triadic
#1D2973 #731D29 #29731D
tetradic
#1D2973 #731D54 #73671D #1D733C
square
#1D2973 #731D54 #73671D #1D733C
split-complementary
#1D2973 #733C1D #54731D
monochromatic
#060918 #111842 #1D2973 #293AA4 #3C51CE

Accessibility & contrast

On white

12.99
#1D2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2973
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2973#FFFFFF#000000##FFFFFF
##1D29731.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2973;
/* rgb */ color: rgb(29, 41, 115);
/* oklch */ color: oklch(32.3% 0.127 270.4);
Tailwind
colors: {
  custom: {
    50: '#66629c',
    500: '#1d2973',
    950: '#000000',
  },
}
SCSS
$custom: #1d2973;
$custom-light: #66629c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2973",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 231.628,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.12726,
    "h": 270.4
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#1D2973
secondary
#A79945
accent
#CD45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1D2973

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

Preview Lab → · Contrast checker → · Palette generator →

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