#1D4D84#1D4D84

#1D4D84 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.8% C 0.105 H 254.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#1D4D84
RGBrgb(29, 77, 132)
HSLhsl(212, 64%, 32%)
HSVhsv(212, 78%, 52%)
CMYKcmyk(78%, 41.7%, 0%, 48.2%)
CIE-LABlab(32.33, 4.43, -35.49)
CIE-LCHlch(32.33, 35.77, 277.12°)
OKLaboklab(41.76% -0.0288 -0.1014)
OKLCHoklch(41.76% 0.105 254.1)
XYZxyz(7.3239, 7.2341, 22.8356)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D84 #84541D
analogous
#1D8184 #1D4D84 #211D84
triadic
#1D4D84 #841D4D #4D841D
tetradic
#1D4D84 #841D81 #84541D #1D8421
square
#1D4D84 #841D81 #84541D #1D8421
split-complementary
#1D4D84 #84211D #81841D
monochromatic
#071220 #123052 #1D4D84 #286AB6 #4589D6

Accessibility & contrast

On white

8.58
#1D4D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1D4D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D84
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D84#FFFFFF#000000##FFFFFF
##1D4D841.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335186
Deuteranopia (green-blind)
#224883
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4d84;
/* rgb */ color: rgb(29, 77, 132);
/* oklch */ color: oklch(41.8% 0.105 254.1);
Tailwind
colors: {
  custom: {
    50: '#697ea8',
    500: '#1d4d84',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d84;
$custom-light: #697ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d84",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 132
  },
  "hsl": {
    "h": 212.039,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.1054,
    "h": 254.1
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#1D4D84
secondary
#B78246
accent
#9A41E7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4D84

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

Preview Lab → · Contrast checker → · Palette generator →

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