#1D4284#1D4284

#1D4284 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.119 H 260.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#1D4284
RGBrgb(29, 66, 132)
HSLhsl(218, 64%, 32%)
HSVhsv(218, 78%, 52%)
CMYKcmyk(78%, 50%, 0%, 48.2%)
CIE-LABlab(28.96, 11.91, -40.90)
CIE-LCHlch(28.96, 42.60, 286.23°)
OKLaboklab(39.15% -0.0187 -0.1175)
OKLCHoklch(39.15% 0.119 260.9)
XYZxyz(6.6183, 5.8228, 22.6004)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4284 #845F1D
analogous
#1D7684 #1D4284 #2C1D84
triadic
#1D4284 #841D42 #42841D
tetradic
#1D4284 #841D76 #845F1D #1D842C
square
#1D4284 #841D76 #845F1D #1D842C
split-complementary
#1D4284 #842C1D #76841D
monochromatic
#071020 #122952 #1D4284 #285BB6 #4579D6

Accessibility & contrast

On white

9.70
#1D4284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1D4284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4284
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4284#FFFFFF#000000##FFFFFF
##1D42841.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4986
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4284;
/* rgb */ color: rgb(29, 66, 132);
/* oklch */ color: oklch(39.1% 0.119 260.9);
Tailwind
colors: {
  custom: {
    50: '#6975a8',
    500: '#1d4284',
    950: '#000000',
  },
}
SCSS
$custom: #1d4284;
$custom-light: #6975a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4284",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 218.447,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39149,
    "c": 0.11898,
    "h": 260.9
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#1D4284
secondary
#B78E46
accent
#AB41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4284

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

Preview Lab → · Contrast checker → · Palette generator →

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