#1D4087#1D4087

#1D4087 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.9% C 0.126 H 262.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#1D4087
RGBrgb(29, 64, 135)
HSLhsl(220, 65%, 32%)
HSVhsv(220, 79%, 53%)
CMYKcmyk(78.5%, 52.6%, 0%, 47.1%)
CIE-LABlab(28.58, 14.51, -43.37)
CIE-LCHlch(28.58, 45.73, 288.49°)
OKLaboklab(38.93% -0.0166 -0.1248)
OKLCHoklch(38.93% 0.126 262.4)
XYZxyz(6.7117, 5.6765, 23.6589)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4087 #87641D
analogous
#1D7587 #1D4087 #2F1D87
triadic
#1D4087 #871D40 #40871D
tetradic
#1D4087 #871D75 #87641D #1D872F
square
#1D4087 #871D75 #87641D #1D872F
split-complementary
#1D4087 #872F1D #75871D
monochromatic
#071022 #122855 #1D4087 #2858B9 #4777D7

Accessibility & contrast

On white

9.83
#1D4087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1D4087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4087
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4087#FFFFFF#000000##FFFFFF
##1D40871.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12498A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d4087;
/* rgb */ color: rgb(29, 64, 135);
/* oklch */ color: oklch(38.9% 0.126 262.4);
Tailwind
colors: {
  custom: {
    50: '#6a74aa',
    500: '#1d4087',
    950: '#000000',
  },
}
SCSS
$custom: #1d4087;
$custom-light: #6a74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4087",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 220.189,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38928,
    "c": 0.12591,
    "h": 262.4
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#1D4087
secondary
#B99346
accent
#B040E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4087

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

Preview Lab → · Contrast checker → · Palette generator →

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