#1D4D8E#1D4D8E

#1D4D8E is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.4% C 0.119 H 257.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#1D4D8E
RGBrgb(29, 77, 142)
HSLhsl(215, 66%, 34%)
HSVhsv(215, 80%, 56%)
CMYKcmyk(79.6%, 45.8%, 0%, 44.3%)
CIE-LABlab(32.96, 8.44, -40.63)
CIE-LCHlch(32.96, 41.49, 281.74°)
OKLaboklab(42.45% -0.0266 -0.1165)
OKLCHoklch(42.45% 0.119 257.1)
XYZxyz(8.0413, 7.5210, 26.6138)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D8E #8E5E1D
analogous
#1D858E #1D4D8E #251D8E
triadic
#1D4D8E #8E1D4D #4D8E1D
tetradic
#1D4D8E #8E1D85 #8E5E1D #1D8E25
square
#1D4D8E #8E1D85 #8E5E1D #1D8E25
split-complementary
#1D4D8E #8E251D #858E1D
monochromatic
#081628 #13315B #1D4D8E #2769C1 #4B88DA

Accessibility & contrast

On white

8.39
#1D4D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1D4D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D8E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D8E#FFFFFF#000000##FFFFFF
##1D4D8E1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#13498D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4d8e;
/* rgb */ color: rgb(29, 77, 142);
/* oklch */ color: oklch(42.4% 0.119 257.1);
Tailwind
colors: {
  custom: {
    50: '#6b7eaf',
    500: '#1d4d8e',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d8e;
$custom-light: #6b7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d8e",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 214.513,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.11947,
    "h": 257.1
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D4D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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