#1D4F87#1D4F87

#1D4F87 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.107 H 253.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#1D4F87
RGBrgb(29, 79, 135)
HSLhsl(212, 65%, 32%)
HSVhsv(212, 79%, 53%)
CMYKcmyk(78.5%, 41.5%, 0%, 47.1%)
CIE-LABlab(33.14, 4.30, -36.06)
CIE-LCHlch(33.14, 36.31, 276.80°)
OKLaboklab(42.44% -0.03 -0.103)
OKLCHoklch(42.44% 0.107 253.8)
XYZxyz(7.6742, 7.6016, 23.9798)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F87 #87551D
analogous
#1D8487 #1D4F87 #201D87
triadic
#1D4F87 #871D4F #4F871D
tetradic
#1D4F87 #871D84 #87551D #1D8720
square
#1D4F87 #871D84 #87551D #1D8720
split-complementary
#1D4F87 #87201D #84871D
monochromatic
#071422 #123255 #1D4F87 #286CB9 #478BD7

Accessibility & contrast

On white

8.33
#1D4F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1D4F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F87
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F87#FFFFFF#000000##FFFFFF
##1D4F871.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#234986
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4f87;
/* rgb */ color: rgb(29, 79, 135);
/* oklch */ color: oklch(42.4% 0.107 253.8);
Tailwind
colors: {
  custom: {
    50: '#697faa',
    500: '#1d4f87',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f87;
$custom-light: #697faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f87",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 211.698,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.10728,
    "h": 253.8
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#1D4F87
secondary
#B98346
accent
#9940E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1D4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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