#1D498E#1D498E

#1D498E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.5% C 0.124 H 259.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#1D498E
RGBrgb(29, 73, 142)
HSLhsl(217, 66%, 34%)
HSVhsv(217, 80%, 56%)
CMYKcmyk(79.6%, 48.6%, 0%, 44.3%)
CIE-LABlab(31.76, 11.15, -42.57)
CIE-LCHlch(31.76, 44.00, 284.68°)
OKLaboklab(41.52% -0.0231 -0.1222)
OKLCHoklch(41.52% 0.124 259.3)
XYZxyz(7.7699, 6.9784, 26.5234)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D498E #8E621D
analogous
#1D818E #1D498E #291D8E
triadic
#1D498E #8E1D49 #498E1D
tetradic
#1D498E #8E1D81 #8E621D #1D8E29
square
#1D498E #8E1D81 #8E621D #1D8E29
split-complementary
#1D498E #8E291D #818E1D
monochromatic
#081528 #132F5B #1D498E #2763C1 #4B83DA

Accessibility & contrast

On white

8.77
#1D498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1D498E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D498E
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D498E#FFFFFF#000000##FFFFFF
##1D498E1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#01468D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d498e;
/* rgb */ color: rgb(29, 73, 142);
/* oklch */ color: oklch(41.5% 0.124 259.3);
Tailwind
colors: {
  custom: {
    50: '#6b7baf',
    500: '#1d498e',
    950: '#000000',
  },
}
SCSS
$custom: #1d498e;
$custom-light: #6b7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d498e",
  "rgb": {
    "r": 29,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 216.637,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41519,
    "c": 0.12442,
    "h": 259.3
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#1D498E
secondary
#BD904A
accent
#A73FE9
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D498E

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

Preview Lab → · Contrast checker → · Palette generator →

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