#1D4281#1D4281

#1D4281 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.115 H 260.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1D4281
RGBrgb(29, 66, 129)
HSLhsl(218, 63%, 31%)
HSVhsv(218, 78%, 51%)
CMYKcmyk(77.5%, 48.8%, 0%, 49.4%)
CIE-LABlab(28.75, 10.69, -39.37)
CIE-LCHlch(28.75, 40.79, 285.19°)
OKLaboklab(38.92% -0.0192 -0.113)
OKLCHoklch(38.92% 0.115 260.3)
XYZxyz(6.4159, 5.7419, 21.5348)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4281 #815C1D
analogous
#1D7481 #1D4281 #2A1D81
triadic
#1D4281 #811D42 #42811D
tetradic
#1D4281 #811D74 #815C1D #1D812A
square
#1D4281 #811D74 #815C1D #1D812A
split-complementary
#1D4281 #812A1D #74811D
monochromatic
#070F1D #12284F #1D4281 #285CB3 #4479D5

Accessibility & contrast

On white

9.77
#1D4281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1D4281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4281
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4281#FFFFFF#000000##FFFFFF
##1D42811.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204983
Deuteranopia (green-blind)
#044080
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4281;
/* rgb */ color: rgb(29, 66, 129);
/* oklch */ color: oklch(38.9% 0.115 260.3);
Tailwind
colors: {
  custom: {
    50: '#6875a6',
    500: '#1d4281',
    950: '#000000',
  },
}
SCSS
$custom: #1d4281;
$custom-light: #6875a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4281",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 217.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38922,
    "c": 0.11461,
    "h": 260.3
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#1D4281
secondary
#B48B46
accent
#A941E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D4281

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

Preview Lab → · Contrast checker → · Palette generator →

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