#1D4C8B#1D4C8B

#1D4C8B is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.116 H 256.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1D4C8B
RGBrgb(29, 76, 139)
HSLhsl(214, 65%, 33%)
HSVhsv(214, 79%, 55%)
CMYKcmyk(79.1%, 45.3%, 0%, 45.5%)
CIE-LABlab(32.47, 7.91, -39.59)
CIE-LCHlch(32.47, 40.37, 281.30°)
OKLaboklab(42% -0.0263 -0.1134)
OKLCHoklch(42% 0.116 256.9)
XYZxyz(7.7496, 7.2933, 25.4204)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C8B #8B5C1D
analogous
#1D838B #1D4C8B #251D8B
triadic
#1D4C8B #8B1D4C #4C8B1D
tetradic
#1D4C8B #8B1D83 #8B5C1D #1D8B25
square
#1D4C8B #8B1D83 #8B5C1D #1D8B25
split-complementary
#1D4C8B #8B251D #838B1D
monochromatic
#081526 #123058 #1D4C8B #2868BE #4987D9

Accessibility & contrast

On white

8.54
#1D4C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1D4C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C8B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C8B#FFFFFF#000000##FFFFFF
##1D4C8B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#16488A
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4c8b;
/* rgb */ color: rgb(29, 76, 139);
/* oklch */ color: oklch(42.0% 0.116 256.9);
Tailwind
colors: {
  custom: {
    50: '#6a7dad',
    500: '#1d4c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c8b;
$custom-light: #6a7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c8b",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 214.364,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42001,
    "c": 0.11646,
    "h": 256.9
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#1D4C8B
secondary
#BB8A49
accent
#A03FE8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1D4C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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