#1D4E81#1D4E81

#1D4E81 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.100 H 252.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1D4E81
RGBrgb(29, 78, 129)
HSLhsl(211, 63%, 31%)
HSVhsv(211, 78%, 51%)
CMYKcmyk(77.5%, 39.5%, 0%, 49.4%)
CIE-LABlab(32.47, 2.57, -33.43)
CIE-LCHlch(32.47, 33.53, 274.40°)
OKLaboklab(41.8% -0.0306 -0.0953)
OKLCHoklch(41.8% 0.1 252.2)
XYZxyz(7.1920, 7.2941, 21.7935)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E81 #81501D
analogous
#1D8081 #1D4E81 #1E1D81
triadic
#1D4E81 #811D4E #4E811D
tetradic
#1D4E81 #811D80 #81501D #1D811E
square
#1D4E81 #811D80 #81501D #1D811E
split-complementary
#1D4E81 #811E1D #80811D
monochromatic
#07121D #12304F #1D4E81 #286CB3 #448BD5

Accessibility & contrast

On white

8.54
#1D4E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1D4E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E81
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E81#FFFFFF#000000##FFFFFF
##1D4E811.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365183
Deuteranopia (green-blind)
#274880
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4e81;
/* rgb */ color: rgb(29, 78, 129);
/* oklch */ color: oklch(41.8% 0.100 252.2);
Tailwind
colors: {
  custom: {
    50: '#687fa6',
    500: '#1d4e81',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e81;
$custom-light: #687fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e81",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 210.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41803,
    "c": 0.10008,
    "h": 252.2
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#1D4E81
secondary
#B47E46
accent
#9641E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D4E81

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

Preview Lab → · Contrast checker → · Palette generator →

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