#1D4286#1D4286

#1D4286 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.122 H 261.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#1D4286
RGBrgb(29, 66, 134)
HSLhsl(219, 64%, 32%)
HSVhsv(219, 78%, 53%)
CMYKcmyk(78.4%, 50.7%, 0%, 47.5%)
CIE-LABlab(29.10, 12.71, -41.91)
CIE-LCHlch(29.10, 43.80, 286.88°)
OKLaboklab(39.3% -0.0184 -0.1205)
OKLCHoklch(39.3% 0.122 261.3)
XYZxyz(6.7564, 5.8781, 23.3281)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4286 #86611D
analogous
#1D7786 #1D4286 #2D1D86
triadic
#1D4286 #861D42 #42861D
tetradic
#1D4286 #861D77 #86611D #1D862D
square
#1D4286 #861D77 #86611D #1D862D
split-complementary
#1D4286 #862D1D #77861D
monochromatic
#071021 #122954 #1D4286 #285BB8 #4679D7

Accessibility & contrast

On white

9.65
#1D4286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1D4286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4286
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4286#FFFFFF#000000##FFFFFF
##1D42861.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A88
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d4286;
/* rgb */ color: rgb(29, 66, 134);
/* oklch */ color: oklch(39.3% 0.122 261.3);
Tailwind
colors: {
  custom: {
    50: '#6a75aa',
    500: '#1d4286',
    950: '#000000',
  },
}
SCSS
$custom: #1d4286;
$custom-light: #6a75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4286",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 218.857,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39303,
    "c": 0.12187,
    "h": 261.3
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#1D4286
secondary
#B99046
accent
#AD40E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4286

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

Preview Lab → · Contrast checker → · Palette generator →

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