#1D498D#1D498D

#1D498D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.123 H 259.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#1D498D
RGBrgb(29, 73, 141)
HSLhsl(216, 66%, 33%)
HSVhsv(216, 79%, 55%)
CMYKcmyk(79.4%, 48.2%, 0%, 44.7%)
CIE-LABlab(31.69, 10.75, -42.06)
CIE-LCHlch(31.69, 43.41, 284.33°)
OKLaboklab(41.45% -0.0233 -0.1208)
OKLCHoklch(41.45% 0.123 259.1)
XYZxyz(7.6952, 6.9485, 26.1298)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D498D #8D611D
analogous
#1D818D #1D498D #291D8D
triadic
#1D498D #8D1D49 #498D1D
tetradic
#1D498D #8D1D81 #8D611D #1D8D29
square
#1D498D #8D1D81 #8D611D #1D8D29
split-complementary
#1D498D #8D291D #818D1D
monochromatic
#081427 #132F5A #1D498D #2763C0 #4B83DA

Accessibility & contrast

On white

8.79
#1D498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1D498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D498D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D498D#FFFFFF#000000##FFFFFF
##1D498D1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#04468C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d498d;
/* rgb */ color: rgb(29, 73, 141);
/* oklch */ color: oklch(41.4% 0.123 259.1);
Tailwind
colors: {
  custom: {
    50: '#6b7baf',
    500: '#1d498d',
    950: '#000000',
  },
}
SCSS
$custom: #1d498d;
$custom-light: #6b7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d498d",
  "rgb": {
    "r": 29,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 216.429,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41445,
    "c": 0.123,
    "h": 259.1
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#1D498D
secondary
#BC8F4A
accent
#A63FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D498D

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

Preview Lab → · Contrast checker → · Palette generator →

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