#1D4186#1D4186

#1D4186 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.123 H 261.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#1D4186
RGBrgb(29, 65, 134)
HSLhsl(219, 64%, 32%)
HSVhsv(219, 78%, 53%)
CMYKcmyk(78.4%, 51.5%, 0%, 47.5%)
CIE-LABlab(28.80, 13.41, -42.39)
CIE-LCHlch(28.80, 44.46, 287.55°)
OKLaboklab(39.07% -0.0176 -0.1219)
OKLCHoklch(39.07% 0.123 261.8)
XYZxyz(6.6985, 5.7623, 23.3088)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4186 #86621D
analogous
#1D7586 #1D4186 #2E1D86
triadic
#1D4186 #861D41 #41861D
tetradic
#1D4186 #861D75 #86621D #1D862E
square
#1D4186 #861D75 #86621D #1D862E
split-complementary
#1D4186 #862E1D #75861D
monochromatic
#071021 #122954 #1D4186 #2859B8 #4678D7

Accessibility & contrast

On white

9.76
#1D4186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1D4186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4186
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4186#FFFFFF#000000##FFFFFF
##1D41861.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174989
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4186;
/* rgb */ color: rgb(29, 65, 134);
/* oklch */ color: oklch(39.1% 0.123 261.8);
Tailwind
colors: {
  custom: {
    50: '#6a75aa',
    500: '#1d4186',
    950: '#000000',
  },
}
SCSS
$custom: #1d4186;
$custom-light: #6a75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4186",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 219.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39075,
    "c": 0.12317,
    "h": 261.8
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#1D4186
secondary
#B99146
accent
#AE40E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4186

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

Preview Lab → · Contrast checker → · Palette generator →

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