#1D4898#1D4898

#1D4898 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.140 H 261.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#1D4898
RGBrgb(29, 72, 152)
HSLhsl(219, 68%, 35%)
HSVhsv(219, 81%, 60%)
CMYKcmyk(80.9%, 52.6%, 0%, 40.4%)
CIE-LABlab(32.17, 15.86, -48.00)
CIE-LCHlch(32.17, 50.55, 288.29°)
OKLaboklab(42.06% -0.0209 -0.1383)
OKLCHoklch(42.06% 0.14 261.4)
XYZxyz(8.4895, 7.1619, 30.6346)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4898 #986D1D
analogous
#1D8698 #1D4898 #2F1D98
triadic
#1D4898 #981D48 #48981D
tetradic
#1D4898 #981D86 #986D1D #1D982F
square
#1D4898 #981D86 #986D1D #1D982F
split-complementary
#1D4898 #982F1D #86981D
monochromatic
#091731 #133065 #1D4898 #2760CB #5283DE

Accessibility & contrast

On white

8.63
#1D4898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1D4898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4898
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4898#FFFFFF#000000##FFFFFF
##1D48981.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4898;
/* rgb */ color: rgb(29, 72, 152);
/* oklch */ color: oklch(42.1% 0.140 261.4);
Tailwind
colors: {
  custom: {
    50: '#6e7ab7',
    500: '#1d4898',
    950: '#000000',
  },
}
SCSS
$custom: #1d4898;
$custom-light: #6e7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4898",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 219.024,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.13983,
    "h": 261.4
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#1D4898
secondary
#C19950
accent
#AE3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4898

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

Preview Lab → · Contrast checker → · Palette generator →

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