#1D4B97#1D4B97

#1D4B97 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.135 H 260.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#1D4B97
RGBrgb(29, 75, 151)
HSLhsl(217, 68%, 35%)
HSVhsv(217, 81%, 59%)
CMYKcmyk(80.8%, 50.3%, 0%, 40.8%)
CIE-LABlab(32.98, 13.42, -46.09)
CIE-LCHlch(32.98, 48.00, 286.23°)
OKLaboklab(42.66% -0.0234 -0.1326)
OKLCHoklch(42.66% 0.135 260)
XYZxyz(8.6067, 7.5267, 30.2713)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4B97 #97691D
analogous
#1D8897 #1D4B97 #2C1D97
triadic
#1D4B97 #971D4B #4B971D
tetradic
#1D4B97 #971D88 #97691D #1D972C
square
#1D4B97 #971D88 #97691D #1D972C
split-complementary
#1D4B97 #972C1D #88971D
monochromatic
#091830 #133164 #1D4B97 #2764CA #5186DE

Accessibility & contrast

On white

8.38
#1D4B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1D4B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4B97
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4B97#FFFFFF#000000##FFFFFF
##1D4B971.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4b97;
/* rgb */ color: rgb(29, 75, 151);
/* oklch */ color: oklch(42.7% 0.135 260.0);
Tailwind
colors: {
  custom: {
    50: '#6d7cb6',
    500: '#1d4b97',
    950: '#000000',
  },
}
SCSS
$custom: #1d4b97;
$custom-light: #6d7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4b97",
  "rgb": {
    "r": 29,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 217.377,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42656,
    "c": 0.13462,
    "h": 260
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#1D4B97
secondary
#C0964F
accent
#A93DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4B97

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

Preview Lab → · Contrast checker → · Palette generator →

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