#1D4879#1D4879

#1D4879 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.096 H 253.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#1D4879
RGBrgb(29, 72, 121)
HSLhsl(212, 61%, 29%)
HSVhsv(212, 76%, 47%)
CMYKcmyk(76%, 40.5%, 0%, 52.5%)
CIE-LABlab(30.10, 3.37, -32.22)
CIE-LCHlch(30.10, 32.39, 275.98°)
OKLaboklab(39.8% -0.0267 -0.0919)
OKLCHoklch(39.8% 0.096 253.8)
XYZxyz(6.2740, 6.2757, 18.9661)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4879 #794E1D
analogous
#1D7679 #1D4879 #201D79
triadic
#1D4879 #791D48 #48791D
tetradic
#1D4879 #791D76 #794E1D #1D7920
square
#1D4879 #791D76 #794E1D #1D7920
split-complementary
#1D4879 #79201D #76791D
monochromatic
#060F19 #112B48 #1D4879 #2965AA #3F83D1

Accessibility & contrast

On white

9.31
#1D4879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1D4879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4879
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4879#FFFFFF#000000##FFFFFF
##1D48791.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7B
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4879;
/* rgb */ color: rgb(29, 72, 121);
/* oklch */ color: oklch(39.8% 0.096 253.8);
Tailwind
colors: {
  custom: {
    50: '#667aa0',
    500: '#1d4879',
    950: '#000000',
  },
}
SCSS
$custom: #1d4879;
$custom-light: #667aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4879",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 211.957,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39797,
    "c": 0.09567,
    "h": 253.8
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#1D4879
secondary
#AD7C45
accent
#9943E4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #1D4879

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

Preview Lab → · Contrast checker → · Palette generator →

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