#1D4588#1D4588

#1D4588 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.1% C 0.121 H 260.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#1D4588
RGBrgb(29, 69, 136)
HSLhsl(218, 65%, 32%)
HSVhsv(218, 79%, 53%)
CMYKcmyk(78.7%, 49.3%, 0%, 46.7%)
CIE-LABlab(30.14, 11.46, -41.47)
CIE-LCHlch(30.14, 43.03, 285.44°)
OKLaboklab(40.15% -0.0207 -0.1191)
OKLCHoklch(40.15% 0.121 260.1)
XYZxyz(7.0771, 6.2942, 24.1297)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4588 #88601D
analogous
#1D7B88 #1D4588 #2B1D88
triadic
#1D4588 #881D45 #45881D
tetradic
#1D4588 #881D7B #88601D #1D882B
square
#1D4588 #881D7B #88601D #1D882B
split-complementary
#1D4588 #882B1D #7B881D
monochromatic
#071223 #122B56 #1D4588 #285FBA #487DD8

Accessibility & contrast

On white

9.30
#1D4588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4588
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4588#FFFFFF#000000##FFFFFF
##1D45881.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4588;
/* rgb */ color: rgb(29, 69, 136);
/* oklch */ color: oklch(40.1% 0.121 260.1);
Tailwind
colors: {
  custom: {
    50: '#6a78ab',
    500: '#1d4588',
    950: '#000000',
  },
}
SCSS
$custom: #1d4588;
$custom-light: #6a78ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4588",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 136
  },
  "hsl": {
    "h": 217.57,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.12091,
    "h": 260.1
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#1D4588
secondary
#BA8F47
accent
#A940E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4588

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

Preview Lab → · Contrast checker → · Palette generator →

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