#1D4096#1D4096

#1D4096 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.147 H 264.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#1D4096
RGBrgb(29, 64, 150)
HSLhsl(223, 68%, 35%)
HSVhsv(223, 81%, 59%)
CMYKcmyk(80.7%, 57.3%, 0%, 41.2%)
CIE-LABlab(29.74, 20.54, -50.73)
CIE-LCHlch(29.74, 54.73, 292.05°)
OKLaboklab(40.17% -0.0152 -0.1464)
OKLCHoklch(40.17% 0.147 264.1)
XYZxyz(7.8432, 6.1291, 29.6179)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4096 #96731D
analogous
#1D7C96 #1D4096 #371D96
triadic
#1D4096 #961D40 #40961D
tetradic
#1D4096 #961D7C #96731D #1D9637
square
#1D4096 #961D7C #96731D #1D9637
split-complementary
#1D4096 #96371D #7C961D
monochromatic
#09142F #132A63 #1D4096 #2756C9 #5079DD

Accessibility & contrast

On white

9.43
#1D4096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1D4096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4096
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4096#FFFFFF#000000##FFFFFF
##1D40961.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4096;
/* rgb */ color: rgb(29, 64, 150);
/* oklch */ color: oklch(40.2% 0.147 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e74b6',
    500: '#1d4096',
    950: '#000000',
  },
}
SCSS
$custom: #1d4096;
$custom-light: #6e74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4096",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 222.645,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40168,
    "c": 0.14723,
    "h": 264.1
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#1D4096
secondary
#C09F4F
accent
#B83DEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D4096

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

Preview Lab → · Contrast checker → · Palette generator →

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