#1D4D9D#1D4D9D

#1D4D9D is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.140 H 260.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#1D4D9D
RGBrgb(29, 77, 157)
HSLhsl(218, 69%, 36%)
HSVhsv(218, 82%, 62%)
CMYKcmyk(81.5%, 51%, 0%, 38.4%)
CIE-LABlab(33.99, 14.48, -48.09)
CIE-LCHlch(33.99, 50.22, 286.75°)
OKLaboklab(43.57% -0.024 -0.1384)
OKLCHoklch(43.57% 0.14 260.1)
XYZxyz(9.2442, 8.0022, 32.9491)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D9D #9D6D1D
analogous
#1D8D9D #1D4D9D #2D1D9D
triadic
#1D4D9D #9D1D4D #4D9D1D
tetradic
#1D4D9D #9D1D8D #9D6D1D #1D9D2D
square
#1D4D9D #9D1D8D #9D6D1D #1D9D2D
split-complementary
#1D4D9D #9D2D1D #8D9D1D
monochromatic
#0A1A36 #133469 #1D4D9D #2766D1 #5589E0

Accessibility & contrast

On white

8.08
#1D4D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1D4D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D9D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D9D#FFFFFF#000000##FFFFFF
##1D4D9D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4d9d;
/* rgb */ color: rgb(29, 77, 157);
/* oklch */ color: oklch(43.6% 0.140 260.1);
Tailwind
colors: {
  custom: {
    50: '#6f7eba',
    500: '#1d4d9d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d9d;
$custom-light: #6f7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d9d",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 217.5,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43565,
    "c": 0.14049,
    "h": 260.1
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#1D4D9D
secondary
#C39953
accent
#AA3CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D4D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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