#1D4A91#1D4A91

#1D4A91 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.127 H 259.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#1D4A91
RGBrgb(29, 74, 145)
HSLhsl(217, 67%, 34%)
HSVhsv(217, 80%, 57%)
CMYKcmyk(80%, 49%, 0%, 43.1%)
CIE-LABlab(32.26, 11.68, -43.59)
CIE-LCHlch(32.26, 45.13, 285.00°)
OKLaboklab(41.97% -0.0235 -0.1252)
OKLCHoklch(41.97% 0.127 259.4)
XYZxyz(8.0644, 7.2022, 27.7477)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A91 #91641D
analogous
#1D8491 #1D4A91 #2A1D91
triadic
#1D4A91 #911D4A #4A911D
tetradic
#1D4A91 #911D84 #91641D #1D912A
square
#1D4A91 #911D84 #91641D #1D912A
split-complementary
#1D4A91 #912A1D #84911D
monochromatic
#09162B #13305E #1D4A91 #2764C4 #4D84DB

Accessibility & contrast

On white

8.60
#1D4A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1D4A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4A91
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A91#FFFFFF#000000##FFFFFF
##1D4A911.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225294
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4a91;
/* rgb */ color: rgb(29, 74, 145);
/* oklch */ color: oklch(42.0% 0.127 259.4);
Tailwind
colors: {
  custom: {
    50: '#6c7bb2',
    500: '#1d4a91',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a91;
$custom-light: #6c7bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a91",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 145
  },
  "hsl": {
    "h": 216.724,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41974,
    "c": 0.12742,
    "h": 259.4
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#1D4A91
secondary
#BE924C
accent
#A73EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4A91

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

Preview Lab → · Contrast checker → · Palette generator →

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