#1D4877#1D4877

#1D4877 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.7% C 0.093 H 252.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1D4877
RGBrgb(29, 72, 119)
HSLhsl(211, 61%, 29%)
HSVhsv(211, 76%, 47%)
CMYKcmyk(75.6%, 39.5%, 0%, 53.3%)
CIE-LABlab(29.98, 2.58, -31.15)
CIE-LCHlch(29.98, 31.26, 274.73°)
OKLaboklab(39.67% -0.0272 -0.0887)
OKLCHoklch(39.67% 0.093 252.9)
XYZxyz(6.1526, 6.2272, 18.3269)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4877 #774C1D
analogous
#1D7577 #1D4877 #1F1D77
triadic
#1D4877 #771D48 #48771D
tetradic
#1D4877 #771D75 #774C1D #1D771F
square
#1D4877 #771D75 #774C1D #1D771F
split-complementary
#1D4877 #771F1D #75771D
monochromatic
#060F19 #112A46 #1D4877 #2966A8 #3E84D0

Accessibility & contrast

On white

9.35
#1D4877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1D4877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4877
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4877#FFFFFF#000000##FFFFFF
##1D48771.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B79
Deuteranopia (green-blind)
#254376
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4877;
/* rgb */ color: rgb(29, 72, 119);
/* oklch */ color: oklch(39.7% 0.093 252.9);
Tailwind
colors: {
  custom: {
    50: '#667a9e',
    500: '#1d4877',
    950: '#000000',
  },
}
SCSS
$custom: #1d4877;
$custom-light: #667a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4877",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 211.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39665,
    "c": 0.09283,
    "h": 252.9
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#1D4877
secondary
#AB7A45
accent
#9744E4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1D4877

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

Preview Lab → · Contrast checker → · Palette generator →

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