#1D4181#1D4181

#1D4181 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.116 H 260.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#1D4181
RGBrgb(29, 65, 129)
HSLhsl(218, 63%, 31%)
HSVhsv(218, 78%, 51%)
CMYKcmyk(77.5%, 49.6%, 0%, 49.4%)
CIE-LABlab(28.45, 11.38, -39.86)
CIE-LCHlch(28.45, 41.45, 285.94°)
OKLaboklab(38.69% -0.0184 -0.1144)
OKLCHoklch(38.69% 0.116 260.9)
XYZxyz(6.3580, 5.6261, 21.5155)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4181 #815D1D
analogous
#1D7381 #1D4181 #2B1D81
triadic
#1D4181 #811D41 #41811D
tetradic
#1D4181 #811D73 #815D1D #1D812B
square
#1D4181 #811D73 #815D1D #1D812B
split-complementary
#1D4181 #812B1D #73811D
monochromatic
#070F1D #12284F #1D4181 #285AB3 #4478D5

Accessibility & contrast

On white

9.88
#1D4181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1D4181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4181
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4181#FFFFFF#000000##FFFFFF
##1D41811.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4883
Deuteranopia (green-blind)
#003F80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d4181;
/* rgb */ color: rgb(29, 65, 129);
/* oklch */ color: oklch(38.7% 0.116 260.9);
Tailwind
colors: {
  custom: {
    50: '#6875a6',
    500: '#1d4181',
    950: '#000000',
  },
}
SCSS
$custom: #1d4181;
$custom-light: #6875a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4181",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 218.4,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38689,
    "c": 0.1159,
    "h": 260.9
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#1D4181
secondary
#B48C46
accent
#AB41E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D4181

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

Preview Lab → · Contrast checker → · Palette generator →

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