#1D4F7F#1D4F7F

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

Color values

HEX#1D4F7F
RGBrgb(29, 79, 127)
HSLhsl(209, 63%, 31%)
HSVhsv(209, 77%, 50%)
CMYKcmyk(77.2%, 37.8%, 0%, 50.2%)
CIE-LABlab(32.67, 1.12, -31.87)
CIE-LCHlch(32.67, 31.89, 272.01°)
OKLaboklab(41.92% -0.0321 -0.0907)
OKLCHoklch(41.92% 0.096 250.5)
XYZxyz(7.1320, 7.3847, 21.1241)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F7F #7F4D1D
analogous
#1D7F7E #1D4F7F #1D1E7F
triadic
#1D4F7F #7F1D4F #4F7F1D
tetradic
#1D4F7F #7E1D7F #7F4D1D #1E7F1D
square
#1D4F7F #7E1D7F #7F4D1D #1E7F1D
split-complementary
#1D4F7F #7F1D1E #7F7E1D
monochromatic
#06111B #12304D #1D4F7F #286EB1 #428DD4

Accessibility & contrast

On white

8.48
#1D4F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1D4F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F7F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F7F#FFFFFF#000000##FFFFFF
##1D4F7F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#2A497E
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4f7f;
/* rgb */ color: rgb(29, 79, 127);
/* oklch */ color: oklch(41.9% 0.096 250.5);
Tailwind
colors: {
  custom: {
    50: '#6880a4',
    500: '#1d4f7f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f7f;
$custom-light: #6880a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f7f",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 209.388,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.09624,
    "h": 250.5
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#1D4F7F
secondary
#B27B45
accent
#9242E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D4F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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