#1D4C82#1D4C82

#1D4C82 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.4% C 0.104 H 254.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#1D4C82
RGBrgb(29, 76, 130)
HSLhsl(212, 64%, 31%)
HSVhsv(212, 78%, 51%)
CMYKcmyk(77.7%, 41.5%, 0%, 49%)
CIE-LABlab(31.90, 4.30, -34.95)
CIE-LCHlch(31.90, 35.21, 277.01°)
OKLaboklab(41.38% -0.0284 -0.0998)
OKLCHoklch(41.38% 0.104 254.1)
XYZxyz(7.1189, 7.0410, 22.0986)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C82 #82531D
analogous
#1D7E82 #1D4C82 #201D82
triadic
#1D4C82 #821D4C #4C821D
tetradic
#1D4C82 #821D7E #82531D #1D8220
square
#1D4C82 #821D7E #82531D #1D8220
split-complementary
#1D4C82 #82201D #7E821D
monochromatic
#07111E #122F50 #1D4C82 #2869B4 #4488D5

Accessibility & contrast

On white

8.72
#1D4C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1D4C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C82
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C82#FFFFFF#000000##FFFFFF
##1D4C821.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325084
Deuteranopia (green-blind)
#224781
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4c82;
/* rgb */ color: rgb(29, 76, 130);
/* oklch */ color: oklch(41.4% 0.104 254.1);
Tailwind
colors: {
  custom: {
    50: '#687da6',
    500: '#1d4c82',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c82;
$custom-light: #687da6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c82",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 130
  },
  "hsl": {
    "h": 212.079,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.10375,
    "h": 254.1
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#1D4C82
secondary
#B58146
accent
#9A41E7
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4C82

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

Preview Lab → · Contrast checker → · Palette generator →

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