#1D3D73#1D3D73

#1D3D73 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.100 H 260.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#1D3D73
RGBrgb(29, 61, 115)
HSLhsl(218, 60%, 28%)
HSVhsv(218, 75%, 45%)
CMYKcmyk(74.8%, 47%, 0%, 54.9%)
CIE-LABlab(26.26, 8.48, -34.56)
CIE-LCHlch(26.26, 35.58, 283.79°)
OKLaboklab(36.7% -0.0171 -0.0989)
OKLCHoklch(36.7% 0.1 260.2)
XYZxyz(5.2688, 4.8359, 16.8721)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D73 #73531D
analogous
#1D6873 #1D3D73 #281D73
triadic
#1D3D73 #731D3D #3D731D
tetradic
#1D3D73 #731D68 #73531D #1D7328
square
#1D3D73 #731D68 #73531D #1D7328
split-complementary
#1D3D73 #73281D #68731D
monochromatic
#060D18 #112342 #1D3D73 #2957A4 #3C73CE

Accessibility & contrast

On white

10.67
#1D3D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1D3D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D73
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D73#FFFFFF#000000##FFFFFF
##1D3D731.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224275
Deuteranopia (green-blind)
#113A72
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d3d73;
/* rgb */ color: rgb(29, 61, 115);
/* oklch */ color: oklch(36.7% 0.100 260.2);
Tailwind
colors: {
  custom: {
    50: '#65729c',
    500: '#1d3d73',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d73;
$custom-light: #65729c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d73",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 115
  },
  "hsl": {
    "h": 217.674,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36699,
    "c": 0.10039,
    "h": 260.2
  },
  "luminance": 0.04837
}

Semantic roles & 50–950 ramp

primary
#1D3D73
secondary
#A78345
accent
#A845E3
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1D3D73

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

Preview Lab → · Contrast checker → · Palette generator →

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