#1D4080#1D4080

#1D4080 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.116 H 261.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#1D4080
RGBrgb(29, 64, 128)
HSLhsl(219, 63%, 31%)
HSVhsv(219, 77%, 50%)
CMYKcmyk(77.3%, 50%, 0%, 49.8%)
CIE-LABlab(28.08, 11.67, -39.83)
CIE-LCHlch(28.08, 41.51, 286.33°)
OKLaboklab(38.38% -0.0176 -0.1144)
OKLCHoklch(38.38% 0.116 261.2)
XYZxyz(6.2350, 5.4858, 21.1482)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4080 #805D1D
analogous
#1D7180 #1D4080 #2B1D80
triadic
#1D4080 #801D40 #40801D
tetradic
#1D4080 #801D71 #805D1D #1D802B
square
#1D4080 #801D71 #805D1D #1D802B
split-complementary
#1D4080 #802B1D #71801D
monochromatic
#060E1C #12274E #1D4080 #2859B2 #4376D4

Accessibility & contrast

On white

10.01
#1D4080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1D4080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4080
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4080#FFFFFF#000000##FFFFFF
##1D40801.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4782
Deuteranopia (green-blind)
#003E7F
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d4080;
/* rgb */ color: rgb(29, 64, 128);
/* oklch */ color: oklch(38.4% 0.116 261.2);
Tailwind
colors: {
  custom: {
    50: '#6874a5',
    500: '#1d4080',
    950: '#000000',
  },
}
SCSS
$custom: #1d4080;
$custom-light: #6874a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4080",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 218.788,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38381,
    "c": 0.11574,
    "h": 261.2
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#1D4080
secondary
#B38C45
accent
#AC42E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D4080

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

Preview Lab → · Contrast checker → · Palette generator →

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