#1D2972#1D2972

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

Color values

HEX#1D2972
RGBrgb(29, 41, 114)
HSLhsl(232, 59%, 28%)
HSVhsv(232, 75%, 45%)
CMYKcmyk(74.6%, 64%, 0%, 55.3%)
CIE-LABlab(20.29, 22.24, -43.58)
CIE-LCHlch(20.29, 48.93, 297.03°)
OKLaboklab(32.16% 0.0009 -0.1258)
OKLCHoklch(32.16% 0.126 270.4)
XYZxyz(4.3359, 3.0616, 16.2788)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2972 #72661D
analogous
#1D5472 #1D2972 #3B1D72
triadic
#1D2972 #721D29 #29721D
tetradic
#1D2972 #721D54 #72661D #1D723B
square
#1D2972 #721D54 #72661D #1D723B
split-complementary
#1D2972 #723B1D #54721D
monochromatic
#060918 #111741 #1D2972 #293BA3 #3C51CD

Accessibility & contrast

On white

13.02
#1D2972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1D2972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2972
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2972#FFFFFF#000000##FFFFFF
##1D29721.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2972;
/* rgb */ color: rgb(29, 41, 114);
/* oklch */ color: oklch(32.2% 0.126 270.4);
Tailwind
colors: {
  custom: {
    50: '#66629b',
    500: '#1d2972',
    950: '#000000',
  },
}
SCSS
$custom: #1d2972;
$custom-light: #66629b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2972",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 231.529,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32155,
    "c": 0.1258,
    "h": 270.4
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#1D2972
secondary
#A69845
accent
#CC45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1D2972

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

Preview Lab → · Contrast checker → · Palette generator →

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