#1D3D78#1D3D78

#1D3D78 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.108 H 261.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#1D3D78
RGBrgb(29, 61, 120)
HSLhsl(219, 61%, 29%)
HSVhsv(219, 76%, 47%)
CMYKcmyk(75.8%, 49.2%, 0%, 52.9%)
CIE-LABlab(26.60, 10.51, -37.18)
CIE-LCHlch(26.60, 38.63, 285.79°)
OKLaboklab(37.07% -0.0162 -0.1066)
OKLCHoklch(37.07% 0.108 261.4)
XYZxyz(5.5644, 4.9542, 18.4287)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3D78 #78581D
analogous
#1D6B78 #1D3D78 #2B1D78
triadic
#1D3D78 #781D3D #3D781D
tetradic
#1D3D78 #781D6B #78581D #1D782B
square
#1D3D78 #781D6B #78581D #1D782B
split-complementary
#1D3D78 #782B1D #6B781D
monochromatic
#060D19 #112447 #1D3D78 #2956A9 #3F72D1

Accessibility & contrast

On white

10.55
#1D3D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1D3D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3D78
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3D78#FFFFFF#000000##FFFFFF
##1D3D781.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D437A
Deuteranopia (green-blind)
#063B77
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3d78;
/* rgb */ color: rgb(29, 61, 120);
/* oklch */ color: oklch(37.1% 0.108 261.4);
Tailwind
colors: {
  custom: {
    50: '#66729f',
    500: '#1d3d78',
    950: '#000000',
  },
}
SCSS
$custom: #1d3d78;
$custom-light: #66729f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3d78",
  "rgb": {
    "r": 29,
    "g": 61,
    "b": 120
  },
  "hsl": {
    "h": 218.901,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37072,
    "c": 0.10785,
    "h": 261.4
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#1D3D78
secondary
#AC8845
accent
#AC44E4
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #1D3D78

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

Preview Lab → · Contrast checker → · Palette generator →

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