#1D4F81#1D4F81

#1D4F81 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.099 H 251.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#1D4F81
RGBrgb(29, 79, 129)
HSLhsl(210, 63%, 31%)
HSVhsv(210, 78%, 51%)
CMYKcmyk(77.5%, 38.8%, 0%, 49.4%)
CIE-LABlab(32.78, 1.91, -32.93)
CIE-LCHlch(32.78, 32.98, 273.32°)
OKLaboklab(42.05% -0.0315 -0.0938)
OKLCHoklch(42.05% 0.099 251.4)
XYZxyz(7.2636, 7.4373, 21.8174)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F81 #814F1D
analogous
#1D8181 #1D4F81 #1D1D81
triadic
#1D4F81 #811D4F #4F811D
tetradic
#1D4F81 #811D81 #814F1D #1D811D
square
#1D4F81 #811D81 #814F1D #1D811D
split-complementary
#1D4F81 #811D1D #81811D
monochromatic
#07121D #12304F #1D4F81 #286EB3 #448CD5

Accessibility & contrast

On white

8.44
#1D4F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1D4F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F81
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F81#FFFFFF#000000##FFFFFF
##1D4F811.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385283
Deuteranopia (green-blind)
#294980
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4f81;
/* rgb */ color: rgb(29, 79, 129);
/* oklch */ color: oklch(42.0% 0.099 251.4);
Tailwind
colors: {
  custom: {
    50: '#687fa6',
    500: '#1d4f81',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f81;
$custom-light: #687fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f81",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 129
  },
  "hsl": {
    "h": 210,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42049,
    "c": 0.09897,
    "h": 251.4
  },
  "luminance": 0.07438
}

Semantic roles & 50–950 ramp

primary
#1D4F81
secondary
#B47D46
accent
#9441E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D4F81

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

Preview Lab → · Contrast checker → · Palette generator →

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