#1D4E87#1D4E87

#1D4E87 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.108 H 254.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#1D4E87
RGBrgb(29, 78, 135)
HSLhsl(212, 65%, 32%)
HSVhsv(212, 79%, 53%)
CMYKcmyk(78.5%, 42.2%, 0%, 47.1%)
CIE-LABlab(32.83, 4.96, -36.55)
CIE-LCHlch(32.83, 36.89, 277.74°)
OKLaboklab(42.2% -0.0291 -0.1045)
OKLCHoklch(42.2% 0.108 254.5)
XYZxyz(7.6026, 7.4584, 23.9559)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E87 #87561D
analogous
#1D8387 #1D4E87 #211D87
triadic
#1D4E87 #871D4E #4E871D
tetradic
#1D4E87 #871D83 #87561D #1D8721
square
#1D4E87 #871D83 #87561D #1D8721
split-complementary
#1D4E87 #87211D #83871D
monochromatic
#071422 #123155 #1D4E87 #286BB9 #478AD7

Accessibility & contrast

On white

8.43
#1D4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1D4E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E87
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E87#FFFFFF#000000##FFFFFF
##1D4E871.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325289
Deuteranopia (green-blind)
#214986
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4e87;
/* rgb */ color: rgb(29, 78, 135);
/* oklch */ color: oklch(42.2% 0.108 254.5);
Tailwind
colors: {
  custom: {
    50: '#697faa',
    500: '#1d4e87',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e87;
$custom-light: #697faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e87",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 212.264,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42201,
    "c": 0.10844,
    "h": 254.5
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#1D4E87
secondary
#B98446
accent
#9A40E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1D4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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