#1D4073#1D4073

#1D4073 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.4% C 0.097 H 258.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#1D4073
RGBrgb(29, 64, 115)
HSLhsl(216, 60%, 28%)
HSVhsv(216, 75%, 45%)
CMYKcmyk(74.8%, 44.3%, 0%, 54.9%)
CIE-LABlab(27.20, 6.40, -33.06)
CIE-LCHlch(27.20, 33.67, 280.96°)
OKLaboklab(37.42% -0.0201 -0.0945)
OKLCHoklch(37.42% 0.097 258)
XYZxyz(5.4335, 5.1652, 16.9270)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4073 #73501D
analogous
#1D6B73 #1D4073 #251D73
triadic
#1D4073 #731D40 #40731D
tetradic
#1D4073 #731D6B #73501D #1D7325
square
#1D4073 #731D6B #73501D #1D7325
split-complementary
#1D4073 #73251D #6B731D
monochromatic
#060E18 #112542 #1D4073 #295BA4 #3C78CE

Accessibility & contrast

On white

10.33
#1D4073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1D4073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4073
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4073#FFFFFF#000000##FFFFFF
##1D40731.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274575
Deuteranopia (green-blind)
#193D72
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d4073;
/* rgb */ color: rgb(29, 64, 115);
/* oklch */ color: oklch(37.4% 0.097 258.0);
Tailwind
colors: {
  custom: {
    50: '#65749b',
    500: '#1d4073',
    950: '#000000',
  },
}
SCSS
$custom: #1d4073;
$custom-light: #65749b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4073",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 215.581,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37424,
    "c": 0.09657,
    "h": 258
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#1D4073
secondary
#A77F45
accent
#A345E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1D4073

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

Preview Lab → · Contrast checker → · Palette generator →

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