#1D4E98#1D4E98

#1D4E98 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.4% C 0.132 H 258.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#1D4E98
RGBrgb(29, 78, 152)
HSLhsl(216, 68%, 35%)
HSVhsv(216, 81%, 60%)
CMYKcmyk(80.9%, 48.7%, 0%, 40.4%)
CIE-LABlab(33.93, 11.79, -45.16)
CIE-LCHlch(33.93, 46.67, 284.64°)
OKLaboklab(43.41% -0.0256 -0.1298)
OKLCHoklch(43.41% 0.132 258.8)
XYZxyz(8.8965, 7.9759, 30.7703)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E98 #98671D
analogous
#1D8B98 #1D4E98 #2A1D98
triadic
#1D4E98 #981D4E #4E981D
tetradic
#1D4E98 #981D8B #98671D #1D982A
square
#1D4E98 #981D8B #98671D #1D982A
split-complementary
#1D4E98 #982A1D #8B981D
monochromatic
#091931 #133465 #1D4E98 #2768CB #5289DE

Accessibility & contrast

On white

8.09
#1D4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1D4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E98
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E98#FFFFFF#000000##FFFFFF
##1D4E981.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4e98;
/* rgb */ color: rgb(29, 78, 152);
/* oklch */ color: oklch(43.4% 0.132 258.8);
Tailwind
colors: {
  custom: {
    50: '#6e7fb7',
    500: '#1d4e98',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e98;
$custom-light: #6e7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e98",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 216.098,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43412,
    "c": 0.13227,
    "h": 258.8
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#1D4E98
secondary
#C19450
accent
#A63DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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