#1D4287#1D4287

#1D4287 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.123 H 261.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#1D4287
RGBrgb(29, 66, 135)
HSLhsl(219, 65%, 32%)
HSVhsv(219, 79%, 53%)
CMYKcmyk(78.5%, 51.1%, 0%, 47.1%)
CIE-LABlab(29.17, 13.12, -42.42)
CIE-LCHlch(29.17, 44.40, 287.19°)
OKLaboklab(39.38% -0.0183 -0.1219)
OKLCHoklch(39.38% 0.123 261.5)
XYZxyz(6.8265, 5.9061, 23.6972)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4287 #87621D
analogous
#1D7787 #1D4287 #2D1D87
triadic
#1D4287 #871D42 #42871D
tetradic
#1D4287 #871D77 #87621D #1D872D
square
#1D4287 #871D77 #87621D #1D872D
split-complementary
#1D4287 #872D1D #77871D
monochromatic
#071122 #122955 #1D4287 #285BB9 #4779D7

Accessibility & contrast

On white

9.63
#1D4287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4287
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4287#FFFFFF#000000##FFFFFF
##1D42871.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d4287;
/* rgb */ color: rgb(29, 66, 135);
/* oklch */ color: oklch(39.4% 0.123 261.5);
Tailwind
colors: {
  custom: {
    50: '#6a75aa',
    500: '#1d4287',
    950: '#000000',
  },
}
SCSS
$custom: #1d4287;
$custom-light: #6a75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4287",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 219.057,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39381,
    "c": 0.12332,
    "h": 261.5
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#1D4287
secondary
#B99146
accent
#AD40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4287

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

Preview Lab → · Contrast checker → · Palette generator →

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