#1D4487#1D4487

#1D4487 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.121 H 260.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1D4487
RGBrgb(29, 68, 135)
HSLhsl(218, 65%, 32%)
HSVhsv(218, 79%, 53%)
CMYKcmyk(78.5%, 49.6%, 0%, 47.1%)
CIE-LABlab(29.77, 11.74, -41.45)
CIE-LCHlch(29.77, 43.08, 285.81°)
OKLaboklab(39.84% -0.02 -0.1191)
OKLCHoklch(39.84% 0.121 260.5)
XYZxyz(6.9454, 6.1439, 23.7368)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4487 #87601D
analogous
#1D7987 #1D4487 #2B1D87
triadic
#1D4487 #871D44 #44871D
tetradic
#1D4487 #871D79 #87601D #1D872B
square
#1D4487 #871D79 #87601D #1D872B
split-complementary
#1D4487 #872B1D #79871D
monochromatic
#071122 #122B55 #1D4487 #285DB9 #477CD7

Accessibility & contrast

On white

9.42
#1D4487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1D4487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4487
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4487#FFFFFF#000000##FFFFFF
##1D44871.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4487;
/* rgb */ color: rgb(29, 68, 135);
/* oklch */ color: oklch(39.8% 0.121 260.5);
Tailwind
colors: {
  custom: {
    50: '#6a77aa',
    500: '#1d4487',
    950: '#000000',
  },
}
SCSS
$custom: #1d4487;
$custom-light: #6a77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4487",
  "rgb": {
    "r": 29,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 217.925,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39839,
    "c": 0.12074,
    "h": 260.5
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#1D4487
secondary
#B98F46
accent
#AA40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4487

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

Preview Lab → · Contrast checker → · Palette generator →

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