#1D3E77#1D3E77

#1D3E77 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.105 H 260.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1D3E77
RGBrgb(29, 62, 119)
HSLhsl(218, 61%, 29%)
HSVhsv(218, 76%, 47%)
CMYKcmyk(75.6%, 47.9%, 0%, 53.3%)
CIE-LABlab(26.84, 9.41, -36.16)
CIE-LCHlch(26.84, 37.36, 284.58°)
OKLaboklab(37.23% -0.0173 -0.1036)
OKLCHoklch(37.23% 0.105 260.5)
XYZxyz(5.5579, 5.0378, 18.1287)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E77 #77561D
analogous
#1D6B77 #1D3E77 #291D77
triadic
#1D3E77 #771D3E #3E771D
tetradic
#1D3E77 #771D6B #77561D #1D7729
square
#1D3E77 #771D6B #77561D #1D7729
split-complementary
#1D3E77 #77291D #6B771D
monochromatic
#060D19 #112446 #1D3E77 #2958A8 #3E74D0

Accessibility & contrast

On white

10.46
#1D3E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1D3E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E77
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E77#FFFFFF#000000##FFFFFF
##1D3E771.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204479
Deuteranopia (green-blind)
#0D3C76
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3e77;
/* rgb */ color: rgb(29, 62, 119);
/* oklch */ color: oklch(37.2% 0.105 260.5);
Tailwind
colors: {
  custom: {
    50: '#66729f',
    500: '#1d3e77',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e77;
$custom-light: #66729f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e77",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 119
  },
  "hsl": {
    "h": 218,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37233,
    "c": 0.10506,
    "h": 260.5
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#1D3E77
secondary
#AB8645
accent
#A944E4
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1D3E77

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

Preview Lab → · Contrast checker → · Palette generator →

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