#1D3A78#1D3A78

#1D3A78 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.112 H 263.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#1D3A78
RGBrgb(29, 58, 120)
HSLhsl(221, 61%, 29%)
HSVhsv(221, 76%, 47%)
CMYKcmyk(75.8%, 51.7%, 0%, 52.9%)
CIE-LABlab(25.69, 12.61, -38.64)
CIE-LCHlch(25.69, 40.65, 288.08°)
OKLaboklab(36.37% -0.0134 -0.111)
OKLCHoklch(36.37% 0.112 263.1)
XYZxyz(5.4087, 4.6428, 18.3768)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A78 #785B1D
analogous
#1D6878 #1D3A78 #2E1D78
triadic
#1D3A78 #781D3A #3A781D
tetradic
#1D3A78 #781D68 #785B1D #1D782E
square
#1D3A78 #781D68 #785B1D #1D782E
split-complementary
#1D3A78 #782E1D #68781D
monochromatic
#060C19 #112247 #1D3A78 #2952A9 #3F6DD1

Accessibility & contrast

On white

10.89
#1D3A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D3A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3A78
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A78#FFFFFF#000000##FFFFFF
##1D3A781.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16417A
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d3a78;
/* rgb */ color: rgb(29, 58, 120);
/* oklch */ color: oklch(36.4% 0.112 263.1);
Tailwind
colors: {
  custom: {
    50: '#676f9f',
    500: '#1d3a78',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a78;
$custom-light: #676f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a78",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 220.879,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36373,
    "c": 0.11181,
    "h": 263.1
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#1D3A78
secondary
#AC8B45
accent
#B144E4
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #1D3A78

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

Preview Lab → · Contrast checker → · Palette generator →

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