#1D4589#1D4589

#1D4589 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.2% C 0.122 H 260.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#1D4589
RGBrgb(29, 69, 137)
HSLhsl(218, 65%, 33%)
HSVhsv(218, 79%, 54%)
CMYKcmyk(78.8%, 49.6%, 0%, 46.3%)
CIE-LABlab(30.21, 11.86, -41.98)
CIE-LCHlch(30.21, 43.62, 285.78°)
OKLaboklab(40.22% -0.0206 -0.1206)
OKLCHoklch(40.22% 0.122 260.3)
XYZxyz(7.1485, 6.3228, 24.5057)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4589 #89611D
analogous
#1D7B89 #1D4589 #2B1D89
triadic
#1D4589 #891D45 #45891D
tetradic
#1D4589 #891D7B #89611D #1D892B
square
#1D4589 #891D7B #89611D #1D892B
split-complementary
#1D4589 #892B1D #7B891D
monochromatic
#081224 #122C56 #1D4589 #285EBC #487ED8

Accessibility & contrast

On white

9.27
#1D4589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1D4589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4589
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4589#FFFFFF#000000##FFFFFF
##1D45891.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8C
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4589;
/* rgb */ color: rgb(29, 69, 137);
/* oklch */ color: oklch(40.2% 0.122 260.3);
Tailwind
colors: {
  custom: {
    50: '#6a78ac',
    500: '#1d4589',
    950: '#000000',
  },
}
SCSS
$custom: #1d4589;
$custom-light: #6a78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4589",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 217.778,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40222,
    "c": 0.12235,
    "h": 260.3
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#1D4589
secondary
#BA9047
accent
#AA40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4589

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

Preview Lab → · Contrast checker → · Palette generator →

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