#1D4E7C#1D4E7C

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

Color values

HEX#1D4E7C
RGBrgb(29, 78, 124)
HSLhsl(209, 62%, 30%)
HSVhsv(209, 77%, 49%)
CMYKcmyk(76.6%, 37.1%, 0%, 51.4%)
CIE-LABlab(32.18, 0.59, -30.79)
CIE-LCHlch(32.18, 30.79, 271.10°)
OKLaboklab(41.48% -0.032 -0.0876)
OKLCHoklch(41.48% 0.093 249.9)
XYZxyz(6.8678, 7.1644, 20.0858)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E7C #7C4B1D
analogous
#1D7C7B #1D4E7C #1D1E7C
triadic
#1D4E7C #7C1D4E #4E7C1D
tetradic
#1D4E7C #7B1D7C #7C4B1D #1E7C1D
square
#1D4E7C #7B1D7C #7C4B1D #1E7C1D
split-complementary
#1D4E7C #7C1D1E #7C7B1D
monochromatic
#061019 #112F4A #1D4E7C #296DAE #418CD3

Accessibility & contrast

On white

8.63
#1D4E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1D4E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E7C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E7C#FFFFFF#000000##FFFFFF
##1D4E7C1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517E
Deuteranopia (green-blind)
#2B487B
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4e7c;
/* rgb */ color: rgb(29, 78, 124);
/* oklch */ color: oklch(41.5% 0.093 249.9);
Tailwind
colors: {
  custom: {
    50: '#677fa2',
    500: '#1d4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e7c;
$custom-light: #677fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e7c",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 209.053,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.09321,
    "h": 249.9
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#1D4E7C
secondary
#B07945
accent
#9143E5
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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