#1D4089#1D4089

#1D4089 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.129 H 262.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#1D4089
RGBrgb(29, 64, 137)
HSLhsl(221, 65%, 33%)
HSVhsv(221, 79%, 54%)
CMYKcmyk(78.8%, 53.3%, 0%, 46.3%)
CIE-LABlab(28.73, 15.31, -44.37)
CIE-LCHlch(28.73, 46.94, 289.04°)
OKLaboklab(39.09% -0.0164 -0.1277)
OKLCHoklch(39.09% 0.129 262.7)
XYZxyz(6.8538, 5.7334, 24.4075)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4089 #89661D
analogous
#1D7689 #1D4089 #301D89
triadic
#1D4089 #891D40 #40891D
tetradic
#1D4089 #891D76 #89661D #1D8930
square
#1D4089 #891D76 #89661D #1D8930
split-complementary
#1D4089 #89301D #76891D
monochromatic
#081124 #122856 #1D4089 #2858BC #4877D8

Accessibility & contrast

On white

9.78
#1D4089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1D4089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4089
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4089#FFFFFF#000000##FFFFFF
##1D40891.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498C
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4089;
/* rgb */ color: rgb(29, 64, 137);
/* oklch */ color: oklch(39.1% 0.129 262.7);
Tailwind
colors: {
  custom: {
    50: '#6a74ac',
    500: '#1d4089',
    950: '#000000',
  },
}
SCSS
$custom: #1d4089;
$custom-light: #6a74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4089",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 220.556,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39088,
    "c": 0.12879,
    "h": 262.7
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#1D4089
secondary
#BA9547
accent
#B240E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4089

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

Preview Lab → · Contrast checker → · Palette generator →

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