#1D4072#1D4072

#1D4072 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.095 H 257.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#1D4072
RGBrgb(29, 64, 114)
HSLhsl(215, 59%, 28%)
HSVhsv(215, 75%, 45%)
CMYKcmyk(74.6%, 43.9%, 0%, 55.3%)
CIE-LABlab(27.14, 6.00, -32.52)
CIE-LCHlch(27.14, 33.07, 280.45°)
OKLaboklab(37.35% -0.0203 -0.0929)
OKLCHoklch(37.35% 0.095 257.7)
XYZxyz(5.3762, 5.1423, 16.6256)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4072 #724F1D
analogous
#1D6A72 #1D4072 #241D72
triadic
#1D4072 #721D40 #40721D
tetradic
#1D4072 #721D6A #724F1D #1D7224
square
#1D4072 #721D6A #724F1D #1D7224
split-complementary
#1D4072 #72241D #6A721D
monochromatic
#060E18 #112541 #1D4072 #295BA3 #3C78CD

Accessibility & contrast

On white

10.35
#1D4072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4072
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4072#FFFFFF#000000##FFFFFF
##1D40721.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#1A3C71
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d4072;
/* rgb */ color: rgb(29, 64, 114);
/* oklch */ color: oklch(37.4% 0.095 257.7);
Tailwind
colors: {
  custom: {
    50: '#65749b',
    500: '#1d4072',
    950: '#000000',
  },
}
SCSS
$custom: #1d4072;
$custom-light: #65749b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4072",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 215.294,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37354,
    "c": 0.0951,
    "h": 257.7
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#1D4072
secondary
#A67E45
accent
#A245E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1D4072

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

Preview Lab → · Contrast checker → · Palette generator →

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