#1D4889#1D4889

#1D4889 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.119 H 258.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#1D4889
RGBrgb(29, 72, 137)
HSLhsl(216, 65%, 33%)
HSVhsv(216, 79%, 54%)
CMYKcmyk(78.8%, 47.4%, 0%, 46.3%)
CIE-LABlab(31.12, 9.81, -40.52)
CIE-LCHlch(31.12, 41.70, 283.61°)
OKLaboklab(40.92% -0.0232 -0.1163)
OKLCHoklch(40.92% 0.119 258.7)
XYZxyz(7.3378, 6.7012, 24.5688)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4889 #895E1D
analogous
#1D7E89 #1D4889 #281D89
triadic
#1D4889 #891D48 #48891D
tetradic
#1D4889 #891D7E #895E1D #1D8928
square
#1D4889 #891D7E #895E1D #1D8928
split-complementary
#1D4889 #89281D #7E891D
monochromatic
#081324 #122D56 #1D4889 #2863BC #4882D8

Accessibility & contrast

On white

8.97
#1D4889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1D4889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4889
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4889#FFFFFF#000000##FFFFFF
##1D48891.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8B
Deuteranopia (green-blind)
#0B4588
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d4889;
/* rgb */ color: rgb(29, 72, 137);
/* oklch */ color: oklch(40.9% 0.119 258.7);
Tailwind
colors: {
  custom: {
    50: '#6a7aac',
    500: '#1d4889',
    950: '#000000',
  },
}
SCSS
$custom: #1d4889;
$custom-light: #6a7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4889",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 216.111,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40917,
    "c": 0.11856,
    "h": 258.7
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#1D4889
secondary
#BA8D47
accent
#A540E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1D4889

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

Preview Lab → · Contrast checker → · Palette generator →

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