#1D4D8D#1D4D8D

#1D4D8D is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.4% C 0.118 H 256.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#1D4D8D
RGBrgb(29, 77, 141)
HSLhsl(214, 66%, 33%)
HSVhsv(214, 79%, 55%)
CMYKcmyk(79.4%, 45.4%, 0%, 44.7%)
CIE-LABlab(32.90, 8.04, -40.12)
CIE-LCHlch(32.90, 40.92, 281.33°)
OKLaboklab(42.38% -0.0268 -0.115)
OKLCHoklch(42.38% 0.118 256.9)
XYZxyz(7.9665, 7.4911, 26.2202)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D8D #8D5D1D
analogous
#1D858D #1D4D8D #251D8D
triadic
#1D4D8D #8D1D4D #4D8D1D
tetradic
#1D4D8D #8D1D85 #8D5D1D #1D8D25
square
#1D4D8D #8D1D85 #8D5D1D #1D8D25
split-complementary
#1D4D8D #8D251D #858D1D
monochromatic
#081627 #13315A #1D4D8D #2769C0 #4B88DA

Accessibility & contrast

On white

8.41
#1D4D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1D4D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D8D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D8D#FFFFFF#000000##FFFFFF
##1D4D8D1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#15498C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4d8d;
/* rgb */ color: rgb(29, 77, 141);
/* oklch */ color: oklch(42.4% 0.118 256.9);
Tailwind
colors: {
  custom: {
    50: '#6b7eaf',
    500: '#1d4d8d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d8d;
$custom-light: #6b7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d8d",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 214.286,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42379,
    "c": 0.11805,
    "h": 256.9
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#1D4D8D
secondary
#BC8B4A
accent
#A03FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D4D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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