#1D4881#1D4881

#1D4881 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.107 H 256.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#1D4881
RGBrgb(29, 72, 129)
HSLhsl(214, 63%, 31%)
HSVhsv(214, 78%, 51%)
CMYKcmyk(77.5%, 44.2%, 0%, 49.4%)
CIE-LABlab(30.59, 6.58, -36.41)
CIE-LCHlch(30.59, 37.01, 280.25°)
OKLaboklab(40.34% -0.0248 -0.1042)
OKLCHoklch(40.34% 0.107 256.6)
XYZxyz(6.7850, 6.4802, 21.6578)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4881 #81561D
analogous
#1D7A81 #1D4881 #241D81
triadic
#1D4881 #811D48 #48811D
tetradic
#1D4881 #811D7A #81561D #1D8124
square
#1D4881 #811D7A #81561D #1D8124
split-complementary
#1D4881 #81241D #7A811D
monochromatic
#07101D #122C4F #1D4881 #2864B3 #4482D5

Accessibility & contrast

On white

9.15
#1D4881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1D4881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4881
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4881#FFFFFF#000000##FFFFFF
##1D48811.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D83
Deuteranopia (green-blind)
#1A4480
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d4881;
/* rgb */ color: rgb(29, 72, 129);
/* oklch */ color: oklch(40.3% 0.107 256.6);
Tailwind
colors: {
  custom: {
    50: '#687aa6',
    500: '#1d4881',
    950: '#000000',
  },
}
SCSS
$custom: #1d4881;
$custom-light: #687aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4881",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 129
  },
  "hsl": {
    "h": 214.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40343,
    "c": 0.10709,
    "h": 256.6
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#1D4881
secondary
#B48546
accent
#9F41E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4881

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

Preview Lab → · Contrast checker → · Palette generator →

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