#1D4081#1D4081

#1D4081 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.117 H 261.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#1D4081
RGBrgb(29, 64, 129)
HSLhsl(219, 63%, 31%)
HSVhsv(219, 78%, 51%)
CMYKcmyk(77.5%, 50.4%, 0%, 49.4%)
CIE-LABlab(28.15, 12.07, -40.34)
CIE-LCHlch(28.15, 42.11, 286.66°)
OKLaboklab(38.46% -0.0175 -0.1159)
OKLCHoklch(38.46% 0.117 261.4)
XYZxyz(6.3011, 5.5123, 21.4965)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4081 #815E1D
analogous
#1D7281 #1D4081 #2C1D81
triadic
#1D4081 #811D40 #40811D
tetradic
#1D4081 #811D72 #815E1D #1D812C
square
#1D4081 #811D72 #815E1D #1D812C
split-complementary
#1D4081 #812C1D #72811D
monochromatic
#070E1D #12274F #1D4081 #2859B3 #4476D5

Accessibility & contrast

On white

9.99
#1D4081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4081
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4081#FFFFFF#000000##FFFFFF
##1D40811.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d4081;
/* rgb */ color: rgb(29, 64, 129);
/* oklch */ color: oklch(38.5% 0.117 261.4);
Tailwind
colors: {
  custom: {
    50: '#6874a6',
    500: '#1d4081',
    950: '#000000',
  },
}
SCSS
$custom: #1d4081;
$custom-light: #6874a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4081",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 219,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38458,
    "c": 0.1172,
    "h": 261.4
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#1D4081
secondary
#B48D46
accent
#AD41E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D4081

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

Preview Lab → · Contrast checker → · Palette generator →

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