#1D4781#1D4781

#1D4781 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.1% C 0.108 H 257.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1D4781
RGBrgb(29, 71, 129)
HSLhsl(215, 63%, 31%)
HSVhsv(215, 78%, 51%)
CMYKcmyk(77.5%, 45%, 0%, 49.4%)
CIE-LABlab(30.28, 7.26, -36.91)
CIE-LCHlch(30.28, 37.62, 281.13°)
OKLaboklab(40.1% -0.0238 -0.1057)
OKLCHoklch(40.1% 0.108 257.3)
XYZxyz(6.7209, 6.3519, 21.6364)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4781 #81571D
analogous
#1D7981 #1D4781 #251D81
triadic
#1D4781 #811D47 #47811D
tetradic
#1D4781 #811D79 #81571D #1D8125
square
#1D4781 #811D79 #81571D #1D8125
split-complementary
#1D4781 #81251D #79811D
monochromatic
#07101D #122B4F #1D4781 #2863B3 #4481D5

Accessibility & contrast

On white

9.25
#1D4781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1D4781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4781
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4781#FFFFFF#000000##FFFFFF
##1D47811.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C83
Deuteranopia (green-blind)
#174380
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4781;
/* rgb */ color: rgb(29, 71, 129);
/* oklch */ color: oklch(40.1% 0.108 257.3);
Tailwind
colors: {
  custom: {
    50: '#6879a6',
    500: '#1d4781',
    950: '#000000',
  },
}
SCSS
$custom: #1d4781;
$custom-light: #6879a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4781",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 214.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40103,
    "c": 0.10832,
    "h": 257.3
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#1D4781
secondary
#B48646
accent
#A141E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4781

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

Preview Lab → · Contrast checker → · Palette generator →

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