#1D4790#1D4790

#1D4790 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.130 H 260.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#1D4790
RGBrgb(29, 71, 144)
HSLhsl(218, 66%, 34%)
HSVhsv(218, 80%, 56%)
CMYKcmyk(79.9%, 50.7%, 0%, 43.5%)
CIE-LABlab(31.30, 13.32, -44.53)
CIE-LCHlch(31.30, 46.48, 286.66°)
OKLaboklab(41.21% -0.0212 -0.1281)
OKLCHoklch(41.21% 0.13 260.6)
XYZxyz(7.7922, 6.7804, 27.2782)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4790 #90661D
analogous
#1D8190 #1D4790 #2D1D90
triadic
#1D4790 #901D47 #47901D
tetradic
#1D4790 #901D81 #90661D #1D902D
square
#1D4790 #901D81 #90661D #1D902D
split-complementary
#1D4790 #902D1D #81901D
monochromatic
#08152A #132E5D #1D4790 #2760C3 #4C80DB

Accessibility & contrast

On white

8.91
#1D4790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1D4790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4790
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4790#FFFFFF#000000##FFFFFF
##1D47901.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F93
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d4790;
/* rgb */ color: rgb(29, 71, 144);
/* oklch */ color: oklch(41.2% 0.130 260.6);
Tailwind
colors: {
  custom: {
    50: '#6c79b1',
    500: '#1d4790',
    950: '#000000',
  },
}
SCSS
$custom: #1d4790;
$custom-light: #6c79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4790",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 218.087,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.1298,
    "h": 260.6
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#1D4790
secondary
#BD944B
accent
#AB3EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4790

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

Preview Lab → · Contrast checker → · Palette generator →

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