#1D4C8C#1D4C8C

#1D4C8C is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.1% C 0.118 H 257.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1D4C8C
RGBrgb(29, 76, 140)
HSLhsl(215, 66%, 33%)
HSVhsv(215, 79%, 55%)
CMYKcmyk(79.3%, 45.7%, 0%, 45.1%)
CIE-LABlab(32.53, 8.31, -40.10)
CIE-LCHlch(32.53, 40.95, 281.71°)
OKLaboklab(42.07% -0.0261 -0.1149)
OKLCHoklch(42.07% 0.118 257.2)
XYZxyz(7.8230, 7.3226, 25.8070)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C8C #8C5D1D
analogous
#1D838C #1D4C8C #261D8C
triadic
#1D4C8C #8C1D4C #4C8C1D
tetradic
#1D4C8C #8C1D83 #8C5D1D #1D8C26
square
#1D4C8C #8C1D83 #8C5D1D #1D8C26
split-complementary
#1D4C8C #8C261D #838C1D
monochromatic
#081527 #123059 #1D4C8C #2868BF #4A87D9

Accessibility & contrast

On white

8.52
#1D4C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4C8C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C8C#FFFFFF#000000##FFFFFF
##1D4C8C1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4c8c;
/* rgb */ color: rgb(29, 76, 140);
/* oklch */ color: oklch(42.1% 0.118 257.2);
Tailwind
colors: {
  custom: {
    50: '#6b7dae',
    500: '#1d4c8c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c8c;
$custom-light: #6b7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c8c",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 140
  },
  "hsl": {
    "h": 214.595,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42072,
    "c": 0.11786,
    "h": 257.2
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#1D4C8C
secondary
#BC8B49
accent
#A13FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D4C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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