#1D4E86#1D4E86

#1D4E86 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.107 H 254.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1D4E86
RGBrgb(29, 78, 134)
HSLhsl(212, 64%, 32%)
HSVhsv(212, 78%, 53%)
CMYKcmyk(78.4%, 41.8%, 0%, 47.5%)
CIE-LABlab(32.77, 4.57, -36.03)
CIE-LCHlch(32.77, 36.32, 277.22°)
OKLaboklab(42.13% -0.0293 -0.1029)
OKLCHoklch(42.13% 0.107 254.1)
XYZxyz(7.5326, 7.4303, 23.5868)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E86 #86551D
analogous
#1D8386 #1D4E86 #211D86
triadic
#1D4E86 #861D4E #4E861D
tetradic
#1D4E86 #861D83 #86551D #1D8621
square
#1D4E86 #861D83 #86551D #1D8621
split-complementary
#1D4E86 #86211D #83861D
monochromatic
#071321 #123154 #1D4E86 #286BB8 #468AD7

Accessibility & contrast

On white

8.45
#1D4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4E86
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E86#FFFFFF#000000##FFFFFF
##1D4E861.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335288
Deuteranopia (green-blind)
#224985
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4e86;
/* rgb */ color: rgb(29, 78, 134);
/* oklch */ color: oklch(42.1% 0.107 254.1);
Tailwind
colors: {
  custom: {
    50: '#697fa9',
    500: '#1d4e86',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e86;
$custom-light: #697fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e86",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 212,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42134,
    "c": 0.10704,
    "h": 254.1
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#1D4E86
secondary
#B98346
accent
#9940E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1D4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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