#1D4F8D#1D4F8D

#1D4F8D is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.116 H 255.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#1D4F8D
RGBrgb(29, 79, 141)
HSLhsl(213, 66%, 33%)
HSVhsv(213, 79%, 55%)
CMYKcmyk(79.4%, 44%, 0%, 44.7%)
CIE-LABlab(33.51, 6.70, -39.14)
CIE-LCHlch(33.51, 39.71, 279.72°)
OKLaboklab(42.85% -0.0286 -0.1121)
OKLCHoklch(42.85% 0.116 255.7)
XYZxyz(8.1086, 7.7753, 26.2676)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F8D #8D5B1D
analogous
#1D878D #1D4F8D #231D8D
triadic
#1D4F8D #8D1D4F #4F8D1D
tetradic
#1D4F8D #8D1D87 #8D5B1D #1D8D23
square
#1D4F8D #8D1D87 #8D5B1D #1D8D23
split-complementary
#1D4F8D #8D231D #878D1D
monochromatic
#081627 #13335A #1D4F8D #276BC0 #4B8BDA

Accessibility & contrast

On white

8.22
#1D4F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1D4F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F8D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F8D#FFFFFF#000000##FFFFFF
##1D4F8D1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d4f8d;
/* rgb */ color: rgb(29, 79, 141);
/* oklch */ color: oklch(42.9% 0.116 255.7);
Tailwind
colors: {
  custom: {
    50: '#6b7faf',
    500: '#1d4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f8d;
$custom-light: #6b7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f8d",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 213.214,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.11565,
    "h": 255.7
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#1D4F8D
secondary
#BC894A
accent
#9D3FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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