#1D5098#1D5098

#1D5098 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.130 H 257.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#1D5098
RGBrgb(29, 80, 152)
HSLhsl(215, 68%, 35%)
HSVhsv(215, 81%, 60%)
CMYKcmyk(80.9%, 47.4%, 0%, 40.4%)
CIE-LABlab(34.53, 10.45, -44.20)
CIE-LCHlch(34.53, 45.42, 283.30°)
OKLaboklab(43.87% -0.0273 -0.1269)
OKLCHoklch(43.87% 0.13 257.9)
XYZxyz(9.0408, 8.2645, 30.8184)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5098 #98651D
analogous
#1D8D98 #1D5098 #271D98
triadic
#1D5098 #981D50 #50981D
tetradic
#1D5098 #981D8D #98651D #1D9827
square
#1D5098 #981D8D #98651D #1D9827
split-complementary
#1D5098 #98271D #8D981D
monochromatic
#091A31 #133565 #1D5098 #276BCB #528CDE

Accessibility & contrast

On white

7.91
#1D5098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1D5098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5098
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5098#FFFFFF#000000##FFFFFF
##1D50981.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#074C97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d5098;
/* rgb */ color: rgb(29, 80, 152);
/* oklch */ color: oklch(43.9% 0.130 257.9);
Tailwind
colors: {
  custom: {
    50: '#6d80b7',
    500: '#1d5098',
    950: '#000000',
  },
}
SCSS
$custom: #1d5098;
$custom-light: #6d80b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5098",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 215.122,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4387,
    "c": 0.1298,
    "h": 257.9
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#1D5098
secondary
#C19250
accent
#A33DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D5098

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

Preview Lab → · Contrast checker → · Palette generator →

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