#1D4182#1D4182

#1D4182 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.117 H 261.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#1D4182
RGBrgb(29, 65, 130)
HSLhsl(219, 64%, 31%)
HSVhsv(219, 78%, 51%)
CMYKcmyk(77.7%, 50%, 0%, 49%)
CIE-LABlab(28.52, 11.79, -40.37)
CIE-LCHlch(28.52, 42.05, 286.28°)
OKLaboklab(38.77% -0.0182 -0.1159)
OKLCHoklch(38.77% 0.117 261.1)
XYZxyz(6.4248, 5.6528, 21.8673)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4182 #825E1D
analogous
#1D7382 #1D4182 #2B1D82
triadic
#1D4182 #821D41 #41821D
tetradic
#1D4182 #821D73 #825E1D #1D822B
square
#1D4182 #821D73 #825E1D #1D822B
split-complementary
#1D4182 #822B1D #73821D
monochromatic
#070F1E #122850 #1D4182 #285AB4 #4478D5

Accessibility & contrast

On white

9.86
#1D4182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4182
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4182#FFFFFF#000000##FFFFFF
##1D41821.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d4182;
/* rgb */ color: rgb(29, 65, 130);
/* oklch */ color: oklch(38.8% 0.117 261.1);
Tailwind
colors: {
  custom: {
    50: '#6975a7',
    500: '#1d4182',
    950: '#000000',
  },
}
SCSS
$custom: #1d4182;
$custom-light: #6975a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4182",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 218.614,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38765,
    "c": 0.11736,
    "h": 261.1
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#1D4182
secondary
#B58D46
accent
#AC41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D4182

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

Preview Lab → · Contrast checker → · Palette generator →

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