#1D4E9B#1D4E9B

#1D4E9B is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.136 H 259.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#1D4E9B
RGBrgb(29, 78, 155)
HSLhsl(217, 68%, 36%)
HSVhsv(217, 81%, 61%)
CMYKcmyk(81.3%, 49.7%, 0%, 39.2%)
CIE-LABlab(34.14, 13.00, -46.64)
CIE-LCHlch(34.14, 48.41, 285.57°)
OKLaboklab(43.64% -0.0251 -0.1341)
OKLCHoklch(43.64% 0.136 259.4)
XYZxyz(9.1453, 8.0755, 32.0807)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E9B #9B6A1D
analogous
#1D8D9B #1D4E9B #2B1D9B
triadic
#1D4E9B #9B1D4E #4E9B1D
tetradic
#1D4E9B #9B1D8D #9B6A1D #1D9B2B
square
#1D4E9B #9B1D8D #9B6A1D #1D9B2B
split-complementary
#1D4E9B #9B2B1D #8D9B1D
monochromatic
#0A1A34 #133467 #1D4E9B #2768CF #538ADF

Accessibility & contrast

On white

8.03
#1D4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1D4E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E9B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E9B#FFFFFF#000000##FFFFFF
##1D4E9B1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4e9b;
/* rgb */ color: rgb(29, 78, 155);
/* oklch */ color: oklch(43.6% 0.136 259.4);
Tailwind
colors: {
  custom: {
    50: '#6e7eb9',
    500: '#1d4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e9b;
$custom-light: #6e7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e9b",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 216.667,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43637,
    "c": 0.13646,
    "h": 259.4
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#1D4E9B
secondary
#C29652
accent
#A73CEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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