#1D4E8C#1D4E8C

#1D4E8C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.115 H 256.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#1D4E8C
RGBrgb(29, 78, 140)
HSLhsl(214, 66%, 33%)
HSVhsv(214, 79%, 55%)
CMYKcmyk(79.3%, 44.3%, 0%, 45.1%)
CIE-LABlab(33.14, 6.97, -39.12)
CIE-LCHlch(33.14, 39.74, 280.10°)
OKLaboklab(42.55% -0.0279 -0.112)
OKLCHoklch(42.55% 0.115 256)
XYZxyz(7.9630, 7.6025, 25.8536)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E8C #8C5B1D
analogous
#1D858C #1D4E8C #241D8C
triadic
#1D4E8C #8C1D4E #4E8C1D
tetradic
#1D4E8C #8C1D85 #8C5B1D #1D8C24
square
#1D4E8C #8C1D85 #8C5B1D #1D8C24
split-complementary
#1D4E8C #8C241D #858C1D
monochromatic
#081627 #123259 #1D4E8C #286ABF #4A89D9

Accessibility & contrast

On white

8.33
#1D4E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1D4E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E8C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E8C#FFFFFF#000000##FFFFFF
##1D4E8C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4e8c;
/* rgb */ color: rgb(29, 78, 140);
/* oklch */ color: oklch(42.5% 0.115 256.0);
Tailwind
colors: {
  custom: {
    50: '#6b7fae',
    500: '#1d4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e8c;
$custom-light: #6b7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e8c",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 213.514,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42545,
    "c": 0.11545,
    "h": 256
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#1D4E8C
secondary
#BC8949
accent
#9E3FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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