#1D4885#1D4885

#1D4885 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.113 H 257.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#1D4885
RGBrgb(29, 72, 133)
HSLhsl(215, 64%, 32%)
HSVhsv(215, 78%, 52%)
CMYKcmyk(78.2%, 45.9%, 0%, 47.8%)
CIE-LABlab(30.85, 8.20, -38.48)
CIE-LCHlch(30.85, 39.34, 282.02°)
OKLaboklab(40.63% -0.0239 -0.1102)
OKLCHoklch(40.63% 0.113 257.7)
XYZxyz(7.0561, 6.5886, 23.0856)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4885 #855A1D
analogous
#1D7C85 #1D4885 #261D85
triadic
#1D4885 #851D48 #48851D
tetradic
#1D4885 #851D7C #855A1D #1D8526
square
#1D4885 #851D7C #855A1D #1D8526
split-complementary
#1D4885 #85261D #7C851D
monochromatic
#071221 #122D53 #1D4885 #2863B7 #4682D7

Accessibility & contrast

On white

9.06
#1D4885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1D4885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4885
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4885#FFFFFF#000000##FFFFFF
##1D48851.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E87
Deuteranopia (green-blind)
#144484
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d4885;
/* rgb */ color: rgb(29, 72, 133);
/* oklch */ color: oklch(40.6% 0.113 257.7);
Tailwind
colors: {
  custom: {
    50: '#697aa9',
    500: '#1d4885',
    950: '#000000',
  },
}
SCSS
$custom: #1d4885;
$custom-light: #697aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4885",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 133
  },
  "hsl": {
    "h": 215.192,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40627,
    "c": 0.11282,
    "h": 257.7
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#1D4885
secondary
#B88946
accent
#A241E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1D4885

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

Preview Lab → · Contrast checker → · Palette generator →

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