#1D4C7A#1D4C7A

#1D4C7A is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.9% C 0.093 H 250.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#1D4C7A
RGBrgb(29, 76, 122)
HSLhsl(210, 62%, 30%)
HSVhsv(210, 76%, 48%)
CMYKcmyk(76.2%, 37.7%, 0%, 52.2%)
CIE-LABlab(31.43, 1.11, -30.73)
CIE-LCHlch(31.43, 30.75, 272.07°)
OKLaboklab(40.86% -0.0305 -0.0874)
OKLCHoklch(40.86% 0.093 250.8)
XYZxyz(6.6027, 6.8345, 19.3798)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C7A #7A4B1D
analogous
#1D7A79 #1D4C7A #1D1E7A
triadic
#1D4C7A #7A1D4C #4C7A1D
tetradic
#1D4C7A #791D7A #7A4B1D #1E7A1D
square
#1D4C7A #791D7A #7A4B1D #1E7A1D
split-complementary
#1D4C7A #7A1D1E #7A791D
monochromatic
#060F19 #112D49 #1D4C7A #296BAB #4089D2

Accessibility & contrast

On white

8.87
#1D4C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1D4C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C7A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C7A#FFFFFF#000000##FFFFFF
##1D4C7A1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#294679
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d4c7a;
/* rgb */ color: rgb(29, 76, 122);
/* oklch */ color: oklch(40.9% 0.093 250.8);
Tailwind
colors: {
  custom: {
    50: '#677da1',
    500: '#1d4c7a',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c7a;
$custom-light: #677da1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c7a",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 122
  },
  "hsl": {
    "h": 209.677,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40856,
    "c": 0.09261,
    "h": 250.8
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#1D4C7A
secondary
#AE7945
accent
#9343E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #1D4C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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