#1D498C#1D498C

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

Color values

HEX#1D498C
RGBrgb(29, 73, 140)
HSLhsl(216, 66%, 33%)
HSVhsv(216, 79%, 55%)
CMYKcmyk(79.3%, 47.9%, 0%, 45.1%)
CIE-LABlab(31.62, 10.34, -41.56)
CIE-LCHlch(31.62, 42.83, 283.97°)
OKLaboklab(41.37% -0.0235 -0.1193)
OKLCHoklch(41.37% 0.122 258.9)
XYZxyz(7.6211, 6.9189, 25.7397)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D498C #8C601D
analogous
#1D808C #1D498C #281D8C
triadic
#1D498C #8C1D49 #498C1D
tetradic
#1D498C #8C1D80 #8C601D #1D8C28
square
#1D498C #8C1D80 #8C601D #1D8C28
split-complementary
#1D498C #8C281D #808C1D
monochromatic
#081427 #122F59 #1D498C #2863BF #4A83D9

Accessibility & contrast

On white

8.81
#1D498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1D498C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D498C
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D498C#FFFFFF#000000##FFFFFF
##1D498C1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#07468B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d498c;
/* rgb */ color: rgb(29, 73, 140);
/* oklch */ color: oklch(41.4% 0.122 258.9);
Tailwind
colors: {
  custom: {
    50: '#6b7bae',
    500: '#1d498c',
    950: '#000000',
  },
}
SCSS
$custom: #1d498c;
$custom-light: #6b7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d498c",
  "rgb": {
    "r": 29,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 216.216,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.12158,
    "h": 258.9
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#1D498C
secondary
#BC8E49
accent
#A53FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D498C

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

Preview Lab → · Contrast checker → · Palette generator →

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