#1D4894#1D4894

#1D4894 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.134 H 260.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#1D4894
RGBrgb(29, 72, 148)
HSLhsl(218, 67%, 35%)
HSVhsv(218, 80%, 58%)
CMYKcmyk(80.4%, 51.4%, 0%, 42%)
CIE-LABlab(31.88, 14.25, -46.03)
CIE-LCHlch(31.88, 48.19, 287.20°)
OKLaboklab(41.75% -0.0214 -0.1325)
OKLCHoklch(41.75% 0.134 260.8)
XYZxyz(8.1674, 7.0331, 28.9383)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4894 #94691D
analogous
#1D8494 #1D4894 #2D1D94
triadic
#1D4894 #941D48 #48941D
tetradic
#1D4894 #941D84 #94691D #1D942D
square
#1D4894 #941D84 #94691D #1D942D
split-complementary
#1D4894 #942D1D #84941D
monochromatic
#09162E #132F61 #1D4894 #2761C7 #4F82DC

Accessibility & contrast

On white

8.73
#1D4894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1D4894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4894
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4894#FFFFFF#000000##FFFFFF
##1D48941.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185197
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4894;
/* rgb */ color: rgb(29, 72, 148);
/* oklch */ color: oklch(41.7% 0.134 260.8);
Tailwind
colors: {
  custom: {
    50: '#6d7ab4',
    500: '#1d4894',
    950: '#000000',
  },
}
SCSS
$custom: #1d4894;
$custom-light: #6d7ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4894",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 218.319,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41749,
    "c": 0.1342,
    "h": 260.8
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#1D4894
secondary
#BF964E
accent
#AC3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4894

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

Preview Lab → · Contrast checker → · Palette generator →

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