#1D3D76#1D3D76

#1D3D76 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.105 H 260.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#1D3D76
RGBrgb(29, 61, 118)
HSLhsl(218, 61%, 29%)
HSVhsv(218, 75%, 46%)
CMYKcmyk(75.4%, 48.3%, 0%, 53.7%)
CIE-LABlab(26.47, 9.70, -36.13)
CIE-LCHlch(26.47, 37.41, 285.02°)
OKLaboklab(36.92% -0.0165 -0.1036)
OKLCHoklch(36.92% 0.105 260.9)
XYZxyz(5.4443, 4.9061, 17.7961)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D76 #76561D
analogous
#1D6A76 #1D3D76 #2A1D76
triadic
#1D3D76 #761D3D #3D761D
tetradic
#1D3D76 #761D6A #76561D #1D762A
square
#1D3D76 #761D6A #76561D #1D762A
split-complementary
#1D3D76 #762A1D #6A761D
monochromatic
#060D19 #112445 #1D3D76 #2956A7 #3E72D0

Accessibility & contrast

On white

10.60
#1D3D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1D3D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D76
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D76#FFFFFF#000000##FFFFFF
##1D3D761.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4378
Deuteranopia (green-blind)
#0B3B75
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3d76;
/* rgb */ color: rgb(29, 61, 118);
/* oklch */ color: oklch(36.9% 0.105 260.9);
Tailwind
colors: {
  custom: {
    50: '#66729e',
    500: '#1d3d76',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d76;
$custom-light: #66729e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d76",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 118
  },
  "hsl": {
    "h": 218.427,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.10488,
    "h": 260.9
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#1D3D76
secondary
#AA8645
accent
#AA44E4
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1D3D76

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

Preview Lab → · Contrast checker → · Palette generator →

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