#1D4998#1D4998

#1D4998 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.139 H 261.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1D4998
RGBrgb(29, 73, 152)
HSLhsl(219, 68%, 35%)
HSVhsv(219, 81%, 60%)
CMYKcmyk(80.9%, 52%, 0%, 40.4%)
CIE-LABlab(32.46, 15.18, -47.53)
CIE-LCHlch(32.46, 49.89, 287.71°)
OKLaboklab(42.29% -0.0216 -0.1368)
OKLCHoklch(42.29% 0.139 261)
XYZxyz(8.5547, 7.2923, 30.6564)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4998 #986C1D
analogous
#1D8698 #1D4998 #2F1D98
triadic
#1D4998 #981D49 #49981D
tetradic
#1D4998 #981D86 #986C1D #1D982F
square
#1D4998 #981D86 #986C1D #1D982F
split-complementary
#1D4998 #982F1D #86981D
monochromatic
#091831 #133065 #1D4998 #2762CB #5284DE

Accessibility & contrast

On white

8.54
#1D4998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1D4998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4998
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4998#FFFFFF#000000##FFFFFF
##1D49981.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4998;
/* rgb */ color: rgb(29, 73, 152);
/* oklch */ color: oklch(42.3% 0.139 261.0);
Tailwind
colors: {
  custom: {
    50: '#6e7bb7',
    500: '#1d4998',
    950: '#000000',
  },
}
SCSS
$custom: #1d4998;
$custom-light: #6e7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4998",
  "rgb": {
    "r": 29,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 218.537,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.13855,
    "h": 261
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#1D4998
secondary
#C19850
accent
#AD3DEB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4998

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

Preview Lab → · Contrast checker → · Palette generator →

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