#1D4388#1D4388

#1D4388 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.7% C 0.123 H 261.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1D4388
RGBrgb(29, 67, 136)
HSLhsl(219, 65%, 32%)
HSVhsv(219, 79%, 53%)
CMYKcmyk(78.7%, 50.7%, 0%, 46.7%)
CIE-LABlab(29.54, 12.83, -42.44)
CIE-LCHlch(29.54, 44.34, 286.83°)
OKLaboklab(39.69% -0.019 -0.122)
OKLCHoklch(39.69% 0.123 261.1)
XYZxyz(6.9562, 6.0523, 24.0894)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4388 #88621D
analogous
#1D7888 #1D4388 #2D1D88
triadic
#1D4388 #881D43 #43881D
tetradic
#1D4388 #881D78 #88621D #1D882D
square
#1D4388 #881D78 #88621D #1D882D
split-complementary
#1D4388 #882D1D #78881D
monochromatic
#071123 #122A56 #1D4388 #285CBA #487BD8

Accessibility & contrast

On white

9.50
#1D4388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1D4388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4388
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4388#FFFFFF#000000##FFFFFF
##1D43881.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8B
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4388;
/* rgb */ color: rgb(29, 67, 136);
/* oklch */ color: oklch(39.7% 0.123 261.1);
Tailwind
colors: {
  custom: {
    50: '#6a76ab',
    500: '#1d4388',
    950: '#000000',
  },
}
SCSS
$custom: #1d4388;
$custom-light: #6a76ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4388",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 136
  },
  "hsl": {
    "h": 218.692,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.12347,
    "h": 261.1
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#1D4388
secondary
#BA9147
accent
#AC40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4388

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

Preview Lab → · Contrast checker → · Palette generator →

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