#1D4E7A#1D4E7A

#1D4E7A is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.091 H 248.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#1D4E7A
RGBrgb(29, 78, 122)
HSLhsl(208, 62%, 30%)
HSVhsv(208, 76%, 48%)
CMYKcmyk(76.2%, 36.1%, 0%, 52.2%)
CIE-LABlab(32.07, -0.20, -29.72)
CIE-LCHlch(32.07, 29.72, 269.62°)
OKLaboklab(41.36% -0.0325 -0.0844)
OKLCHoklch(41.36% 0.091 248.9)
XYZxyz(6.7426, 7.1144, 19.4264)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E7A #7A491D
analogous
#1D7A78 #1D4E7A #1D207A
triadic
#1D4E7A #7A1D4E #4E7A1D
tetradic
#1D4E7A #781D7A #7A491D #207A1D
square
#1D4E7A #781D7A #7A491D #207A1D
split-complementary
#1D4E7A #7A1D20 #7A781D
monochromatic
#061019 #112E49 #1D4E7A #296EAB #408DD2

Accessibility & contrast

On white

8.67
#1D4E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1D4E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E7A
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E7A#FFFFFF#000000##FFFFFF
##1D4E7A1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507C
Deuteranopia (green-blind)
#2D4879
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4e7a;
/* rgb */ color: rgb(29, 78, 122);
/* oklch */ color: oklch(41.4% 0.091 248.9);
Tailwind
colors: {
  custom: {
    50: '#677fa0',
    500: '#1d4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e7a;
$custom-light: #677fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e7a",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 208.387,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41357,
    "c": 0.09051,
    "h": 248.9
  },
  "luminance": 0.07115
}

Semantic roles & 50–950 ramp

primary
#1D4E7A
secondary
#AE7745
accent
#9043E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1D4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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