#1D4F7D#1D4F7D

#1D4F7D is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.094 H 249.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#1D4F7D
RGBrgb(29, 79, 125)
HSLhsl(209, 62%, 30%)
HSVhsv(209, 77%, 49%)
CMYKcmyk(76.8%, 36.8%, 0%, 51%)
CIE-LABlab(32.55, 0.33, -30.81)
CIE-LCHlch(32.55, 30.81, 270.62°)
OKLaboklab(41.8% -0.0327 -0.0876)
OKLCHoklch(41.8% 0.094 249.5)
XYZxyz(7.0029, 7.3330, 20.4444)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F7D #7D4B1D
analogous
#1D7D7B #1D4F7D #1D1F7D
triadic
#1D4F7D #7D1D4F #4F7D1D
tetradic
#1D4F7D #7B1D7D #7D4B1D #1F7D1D
square
#1D4F7D #7B1D7D #7D4B1D #1F7D1D
split-complementary
#1D4F7D #7D1D1F #7D7B1D
monochromatic
#06101A #11304B #1D4F7D #296EAF #418DD3

Accessibility & contrast

On white

8.51
#1D4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1D4F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F7D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F7D#FFFFFF#000000##FFFFFF
##1D4F7D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#2C497C
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4f7d;
/* rgb */ color: rgb(29, 79, 125);
/* oklch */ color: oklch(41.8% 0.094 249.5);
Tailwind
colors: {
  custom: {
    50: '#6780a3',
    500: '#1d4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f7d;
$custom-light: #6780a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f7d",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 208.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41795,
    "c": 0.09353,
    "h": 249.5
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#1D4F7D
secondary
#B17945
accent
#9142E5
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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