#1D4077#1D4077

#1D4077 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.102 H 259.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#1D4077
RGBrgb(29, 64, 119)
HSLhsl(217, 61%, 29%)
HSVhsv(217, 76%, 47%)
CMYKcmyk(75.6%, 46.2%, 0%, 53.3%)
CIE-LABlab(27.46, 8.02, -35.17)
CIE-LCHlch(27.46, 36.07, 282.85°)
OKLaboklab(37.71% -0.0192 -0.1007)
OKLCHoklch(37.71% 0.102 259.2)
XYZxyz(5.6687, 5.2593, 18.1656)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4077 #77541D
analogous
#1D6D77 #1D4077 #271D77
triadic
#1D4077 #771D40 #40771D
tetradic
#1D4077 #771D6D #77541D #1D7727
square
#1D4077 #771D6D #77541D #1D7727
split-complementary
#1D4077 #77271D #6D771D
monochromatic
#060D19 #112646 #1D4077 #295AA8 #3E77D0

Accessibility & contrast

On white

10.23
#1D4077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1D4077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4077
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4077#FFFFFF#000000##FFFFFF
##1D40771.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244579
Deuteranopia (green-blind)
#133D76
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d4077;
/* rgb */ color: rgb(29, 64, 119);
/* oklch */ color: oklch(37.7% 0.102 259.2);
Tailwind
colors: {
  custom: {
    50: '#66749e',
    500: '#1d4077',
    950: '#000000',
  },
}
SCSS
$custom: #1d4077;
$custom-light: #66749e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4077",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 119
  },
  "hsl": {
    "h": 216.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.10249,
    "h": 259.2
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#1D4077
secondary
#AB8345
accent
#A644E4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1D4077

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

Preview Lab → · Contrast checker → · Palette generator →

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