#1D4F78#1D4F78

#1D4F78 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.087 H 246.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#1D4F78
RGBrgb(29, 79, 120)
HSLhsl(207, 61%, 29%)
HSVhsv(207, 76%, 47%)
CMYKcmyk(75.8%, 34.2%, 0%, 52.9%)
CIE-LABlab(32.28, -1.63, -28.14)
CIE-LCHlch(32.28, 28.19, 266.68°)
OKLaboklab(41.49% -0.0342 -0.0798)
OKLCHoklch(41.49% 0.087 246.8)
XYZxyz(6.6916, 7.2085, 18.8044)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F78 #78461D
analogous
#1D7874 #1D4F78 #1D2278
triadic
#1D4F78 #781D4F #4F781D
tetradic
#1D4F78 #741D78 #78461D #22781D
square
#1D4F78 #741D78 #78461D #22781D
split-complementary
#1D4F78 #781D22 #78741D
monochromatic
#061019 #112F47 #1D4F78 #296FA9 #3F8FD1

Accessibility & contrast

On white

8.60
#1D4F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1D4F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F78
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F78#FFFFFF#000000##FFFFFF
##1D4F781.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517A
Deuteranopia (green-blind)
#2F4877
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4f78;
/* rgb */ color: rgb(29, 79, 120);
/* oklch */ color: oklch(41.5% 0.087 246.8);
Tailwind
colors: {
  custom: {
    50: '#66809f',
    500: '#1d4f78',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f78;
$custom-light: #66809f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f78",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 207.033,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41487,
    "c": 0.08684,
    "h": 246.8
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#1D4F78
secondary
#AC7345
accent
#8C44E4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1D4F78

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

Preview Lab → · Contrast checker → · Palette generator →

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