#1D4C8A#1D4C8A

#1D4C8A is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.115 H 256.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#1D4C8A
RGBrgb(29, 76, 138)
HSLhsl(214, 65%, 33%)
HSVhsv(214, 79%, 54%)
CMYKcmyk(79%, 44.9%, 0%, 45.9%)
CIE-LABlab(32.40, 7.51, -39.08)
CIE-LCHlch(32.40, 39.79, 280.87°)
OKLaboklab(41.93% -0.0265 -0.1119)
OKLCHoklch(41.93% 0.115 256.7)
XYZxyz(7.6769, 7.2642, 25.0374)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C8A #8A5B1D
analogous
#1D838A #1D4C8A #241D8A
triadic
#1D4C8A #8A1D4C #4C8A1D
tetradic
#1D4C8A #8A1D83 #8A5B1D #1D8A24
square
#1D4C8A #8A1D83 #8A5B1D #1D8A24
split-complementary
#1D4C8A #8A241D #838A1D
monochromatic
#081425 #123057 #1D4C8A #2868BD #4987D9

Accessibility & contrast

On white

8.56
#1D4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1D4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C8A
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C8A#FFFFFF#000000##FFFFFF
##1D4C8A1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#174889
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4c8a;
/* rgb */ color: rgb(29, 76, 138);
/* oklch */ color: oklch(41.9% 0.115 256.7);
Tailwind
colors: {
  custom: {
    50: '#6a7dac',
    500: '#1d4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c8a;
$custom-light: #6a7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c8a",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 214.128,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.11504,
    "h": 256.7
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#1D4C8A
secondary
#BB8948
accent
#A040E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1D4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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