#1D3976#1D3976

#1D3976 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.110 H 263.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#1D3976
RGBrgb(29, 57, 118)
HSLhsl(221, 61%, 29%)
HSVhsv(221, 75%, 46%)
CMYKcmyk(75.4%, 51.7%, 0%, 53.7%)
CIE-LABlab(25.24, 12.50, -38.10)
CIE-LCHlch(25.24, 40.10, 288.17°)
OKLaboklab(35.99% -0.0127 -0.1094)
OKLCHoklch(35.99% 0.11 263.4)
XYZxyz(5.2387, 4.4949, 17.7275)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3976 #765A1D
analogous
#1D6676 #1D3976 #2E1D76
triadic
#1D3976 #761D39 #39761D
tetradic
#1D3976 #761D66 #765A1D #1D762E
square
#1D3976 #761D66 #765A1D #1D762E
split-complementary
#1D3976 #762E1D #66761D
monochromatic
#060C19 #112145 #1D3976 #2951A7 #3E6CD0

Accessibility & contrast

On white

11.06
#1D3976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1D3976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3976
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3976#FFFFFF#000000##FFFFFF
##1D39761.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164078
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d3976;
/* rgb */ color: rgb(29, 57, 118);
/* oklch */ color: oklch(36.0% 0.110 263.4);
Tailwind
colors: {
  custom: {
    50: '#666e9e',
    500: '#1d3976',
    950: '#000000',
  },
}
SCSS
$custom: #1d3976;
$custom-light: #666e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3976",
  "rgb": {
    "r": 29,
    "g": 57,
    "b": 118
  },
  "hsl": {
    "h": 221.124,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35985,
    "c": 0.11016,
    "h": 263.4
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#1D3976
secondary
#AA8A45
accent
#B144E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1D3976

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

Preview Lab → · Contrast checker → · Palette generator →

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