#1D4F7E#1D4F7E

#1D4F7E is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.095 H 250.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#1D4F7E
RGBrgb(29, 79, 126)
HSLhsl(209, 63%, 30%)
HSVhsv(209, 77%, 49%)
CMYKcmyk(77%, 37.3%, 0%, 50.6%)
CIE-LABlab(32.61, 0.73, -31.34)
CIE-LCHlch(32.61, 31.35, 271.33°)
OKLaboklab(41.86% -0.0324 -0.0892)
OKLCHoklch(41.86% 0.095 250)
XYZxyz(7.0672, 7.3587, 20.7825)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F7E #7E4C1D
analogous
#1D7E7C #1D4F7E #1D1E7E
triadic
#1D4F7E #7E1D4F #4F7E1D
tetradic
#1D4F7E #7C1D7E #7E4C1D #1E7E1D
square
#1D4F7E #7C1D7E #7E4C1D #1E7E1D
split-complementary
#1D4F7E #7E1D1E #7E7C1D
monochromatic
#06111B #12304C #1D4F7E #286EB0 #428DD3

Accessibility & contrast

On white

8.50
#1D4F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4F7E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F7E#FFFFFF#000000##FFFFFF
##1D4F7E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#2B497D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4f7e;
/* rgb */ color: rgb(29, 79, 126);
/* oklch */ color: oklch(41.9% 0.095 250.0);
Tailwind
colors: {
  custom: {
    50: '#6780a3',
    500: '#1d4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f7e;
$custom-light: #6780a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f7e",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 209.072,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41858,
    "c": 0.09488,
    "h": 250
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

primary
#1D4F7E
secondary
#B17A45
accent
#9142E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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