#1D4E9D#1D4E9D

#1D4E9D is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.139 H 259.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#1D4E9D
RGBrgb(29, 78, 157)
HSLhsl(217, 69%, 36%)
HSVhsv(217, 82%, 62%)
CMYKcmyk(81.5%, 50.3%, 0%, 38.4%)
CIE-LABlab(34.28, 13.80, -47.62)
CIE-LCHlch(34.28, 49.58, 286.16°)
OKLaboklab(43.79% -0.0248 -0.137)
OKLCHoklch(43.79% 0.139 259.7)
XYZxyz(9.3147, 8.1432, 32.9726)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E9D #9D6C1D
analogous
#1D8E9D #1D4E9D #2C1D9D
triadic
#1D4E9D #9D1D4E #4E9D1D
tetradic
#1D4E9D #9D1D8E #9D6C1D #1D9D2C
square
#1D4E9D #9D1D8E #9D6C1D #1D9D2C
split-complementary
#1D4E9D #9D2C1D #8E9D1D
monochromatic
#0A1B36 #133469 #1D4E9D #2768D1 #558AE0

Accessibility & contrast

On white

7.99
#1D4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1D4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E9D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E9D#FFFFFF#000000##FFFFFF
##1D4E9D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d4e9d;
/* rgb */ color: rgb(29, 78, 157);
/* oklch */ color: oklch(43.8% 0.139 259.7);
Tailwind
colors: {
  custom: {
    50: '#6f7eba',
    500: '#1d4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e9d;
$custom-light: #6f7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e9d",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 217.031,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43789,
    "c": 0.13925,
    "h": 259.7
  },
  "luminance": 0.08144
}

Semantic roles & 50–950 ramp

primary
#1D4E9D
secondary
#C39853
accent
#A83CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1D4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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