#1D4F82#1D4F82

#1D4F82 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.100 H 251.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#1D4F82
RGBrgb(29, 79, 130)
HSLhsl(210, 64%, 31%)
HSVhsv(210, 78%, 51%)
CMYKcmyk(77.7%, 39.2%, 0%, 49%)
CIE-LABlab(32.84, 2.31, -33.45)
CIE-LCHlch(32.84, 33.53, 273.95°)
OKLaboklab(42.11% -0.0313 -0.0953)
OKLCHoklch(42.11% 0.1 251.8)
XYZxyz(7.3304, 7.4640, 22.1691)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F82 #82501D
analogous
#1D8182 #1D4F82 #1D1D82
triadic
#1D4F82 #821D4F #4F821D
tetradic
#1D4F82 #821D81 #82501D #1D821D
square
#1D4F82 #821D81 #82501D #1D821D
split-complementary
#1D4F82 #821D1D #81821D
monochromatic
#07121E #123150 #1D4F82 #286DB4 #448CD5

Accessibility & contrast

On white

8.42
#1D4F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4F82
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F82#FFFFFF#000000##FFFFFF
##1D4F821.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#284981
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4f82;
/* rgb */ color: rgb(29, 79, 130);
/* oklch */ color: oklch(42.1% 0.100 251.8);
Tailwind
colors: {
  custom: {
    50: '#687fa6',
    500: '#1d4f82',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f82;
$custom-light: #687fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f82",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 210.297,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42114,
    "c": 0.10035,
    "h": 251.8
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#1D4F82
secondary
#B57E46
accent
#9541E7
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D4F82

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

Preview Lab → · Contrast checker → · Palette generator →

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