#1D4979#1D4979

#1D4979 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.095 H 252.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#1D4979
RGBrgb(29, 73, 121)
HSLhsl(211, 61%, 29%)
HSVhsv(211, 76%, 47%)
CMYKcmyk(76%, 39.7%, 0%, 52.5%)
CIE-LABlab(30.41, 2.70, -31.71)
CIE-LCHlch(30.41, 31.83, 274.87°)
OKLaboklab(40.04% -0.0277 -0.0904)
OKLCHoklch(40.04% 0.095 252.9)
XYZxyz(6.3391, 6.4061, 18.9879)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4979 #794D1D
analogous
#1D7779 #1D4979 #1F1D79
triadic
#1D4979 #791D49 #49791D
tetradic
#1D4979 #791D77 #794D1D #1D791F
square
#1D4979 #791D77 #794D1D #1D791F
split-complementary
#1D4979 #791F1D #77791D
monochromatic
#060F19 #112B48 #1D4979 #2967AA #3F85D1

Accessibility & contrast

On white

9.20
#1D4979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1D4979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4979
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4979#FFFFFF#000000##FFFFFF
##1D49791.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#254478
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d4979;
/* rgb */ color: rgb(29, 73, 121);
/* oklch */ color: oklch(40.0% 0.095 252.9);
Tailwind
colors: {
  custom: {
    50: '#667ba0',
    500: '#1d4979',
    950: '#000000',
  },
}
SCSS
$custom: #1d4979;
$custom-light: #667ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4979",
  "rgb": {
    "r": 29,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 211.304,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40045,
    "c": 0.09452,
    "h": 252.9
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#1D4979
secondary
#AD7B45
accent
#9743E4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #1D4979

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

Preview Lab → · Contrast checker → · Palette generator →

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