#1D4E7D#1D4E7D

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

Color values

HEX#1D4E7D
RGBrgb(29, 78, 125)
HSLhsl(209, 62%, 30%)
HSVhsv(209, 77%, 49%)
CMYKcmyk(76.8%, 37.6%, 0%, 51%)
CIE-LABlab(32.24, 0.99, -31.32)
CIE-LCHlch(32.24, 31.33, 271.80°)
OKLaboklab(41.55% -0.0317 -0.0891)
OKLCHoklch(41.55% 0.095 250.4)
XYZxyz(6.9314, 7.1899, 20.4205)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E7D #7D4C1D
analogous
#1D7D7C #1D4E7D #1D1E7D
triadic
#1D4E7D #7D1D4E #4E7D1D
tetradic
#1D4E7D #7C1D7D #7D4C1D #1E7D1D
square
#1D4E7D #7C1D7D #7D4C1D #1E7D1D
split-complementary
#1D4E7D #7D1D1E #7D7C1D
monochromatic
#06101A #112F4B #1D4E7D #296DAF #418CD3

Accessibility & contrast

On white

8.61
#1D4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4E7D
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E7D#FFFFFF#000000##FFFFFF
##1D4E7D1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4e7d;
/* rgb */ color: rgb(29, 78, 125);
/* oklch */ color: oklch(41.5% 0.095 250.4);
Tailwind
colors: {
  custom: {
    50: '#677fa3',
    500: '#1d4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e7d;
$custom-light: #677fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e7d",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 209.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41545,
    "c": 0.09458,
    "h": 250.4
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#1D4E7D
secondary
#B17A45
accent
#9242E5
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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