#1D4871#1D4871

#1D4871 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.3% C 0.084 H 249.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1D4871
RGBrgb(29, 72, 113)
HSLhsl(209, 59%, 28%)
HSVhsv(209, 74%, 44%)
CMYKcmyk(74.3%, 36.3%, 0%, 55.7%)
CIE-LABlab(29.63, 0.20, -27.93)
CIE-LCHlch(29.63, 27.93, 270.41°)
OKLaboklab(39.28% -0.029 -0.0793)
OKLCHoklch(39.28% 0.084 249.9)
XYZxyz(5.8036, 6.0876, 16.4887)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4871 #71461D
analogous
#1D7170 #1D4871 #1D1E71
triadic
#1D4871 #711D48 #48711D
tetradic
#1D4871 #701D71 #71461D #1E711D
square
#1D4871 #701D71 #71461D #1E711D
split-complementary
#1D4871 #711D1E #71701D
monochromatic
#061018 #112940 #1D4871 #2967A2 #3C86CD

Accessibility & contrast

On white

9.47
#1D4871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1D4871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4871
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4871#FFFFFF#000000##FFFFFF
##1D48711.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4871;
/* rgb */ color: rgb(29, 72, 113);
/* oklch */ color: oklch(39.3% 0.084 249.9);
Tailwind
colors: {
  custom: {
    50: '#657a9a',
    500: '#1d4871',
    950: '#000000',
  },
}
SCSS
$custom: #1d4871;
$custom-light: #657a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4871",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 209.286,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.08443,
    "h": 249.9
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#1D4871
secondary
#A57444
accent
#9245E2
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1D4871

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

Preview Lab → · Contrast checker → · Palette generator →

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