#1D4C81#1D4C81

#1D4C81 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.3% C 0.102 H 253.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#1D4C81
RGBrgb(29, 76, 129)
HSLhsl(212, 63%, 31%)
HSVhsv(212, 78%, 51%)
CMYKcmyk(77.5%, 41.1%, 0%, 49.4%)
CIE-LABlab(31.84, 3.90, -34.43)
CIE-LCHlch(31.84, 34.65, 276.46°)
OKLaboklab(41.31% -0.0286 -0.0983)
OKLCHoklch(41.31% 0.102 253.8)
XYZxyz(7.0521, 7.0143, 21.7468)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C81 #81521D
analogous
#1D7E81 #1D4C81 #201D81
triadic
#1D4C81 #811D4C #4C811D
tetradic
#1D4C81 #811D7E #81521D #1D8120
square
#1D4C81 #811D7E #81521D #1D8120
split-complementary
#1D4C81 #81201D #7E811D
monochromatic
#07111D #122F4F #1D4C81 #2869B3 #4488D5

Accessibility & contrast

On white

8.74
#1D4C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1D4C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C81
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C81#FFFFFF#000000##FFFFFF
##1D4C811.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335083
Deuteranopia (green-blind)
#234780
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4c81;
/* rgb */ color: rgb(29, 76, 129);
/* oklch */ color: oklch(41.3% 0.102 253.8);
Tailwind
colors: {
  custom: {
    50: '#687da6',
    500: '#1d4c81',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c81;
$custom-light: #687da6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c81",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 129
  },
  "hsl": {
    "h": 211.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41312,
    "c": 0.10234,
    "h": 253.8
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#1D4C81
secondary
#B48046
accent
#9941E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4C81

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

Preview Lab → · Contrast checker → · Palette generator →

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