#1D4994#1D4994

#1D4994 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.133 H 260.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#1D4994
RGBrgb(29, 73, 148)
HSLhsl(218, 67%, 35%)
HSVhsv(218, 80%, 58%)
CMYKcmyk(80.4%, 50.7%, 0%, 42%)
CIE-LABlab(32.18, 13.57, -45.56)
CIE-LCHlch(32.18, 47.54, 286.59°)
OKLaboklab(41.97% -0.0222 -0.1311)
OKLCHoklch(41.97% 0.133 260.4)
XYZxyz(8.2326, 7.1634, 28.9600)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4994 #94681D
analogous
#1D8594 #1D4994 #2C1D94
triadic
#1D4994 #941D49 #49941D
tetradic
#1D4994 #941D85 #94681D #1D942C
square
#1D4994 #941D85 #94681D #1D942C
split-complementary
#1D4994 #942C1D #85941D
monochromatic
#09172E #133061 #1D4994 #2762C7 #4F83DC

Accessibility & contrast

On white

8.63
#1D4994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1D4994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4994
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4994#FFFFFF#000000##FFFFFF
##1D49941.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5197
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4994;
/* rgb */ color: rgb(29, 73, 148);
/* oklch */ color: oklch(42.0% 0.133 260.4);
Tailwind
colors: {
  custom: {
    50: '#6d7bb4',
    500: '#1d4994',
    950: '#000000',
  },
}
SCSS
$custom: #1d4994;
$custom-light: #6d7bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4994",
  "rgb": {
    "r": 29,
    "g": 73,
    "b": 148
  },
  "hsl": {
    "h": 217.815,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41974,
    "c": 0.13293,
    "h": 260.4
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#1D4994
secondary
#BF954E
accent
#AA3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4994

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

Preview Lab → · Contrast checker → · Palette generator →

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