#1D498F#1D498F

#1D498F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.126 H 259.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#1D498F
RGBrgb(29, 73, 143)
HSLhsl(217, 66%, 34%)
HSVhsv(217, 80%, 56%)
CMYKcmyk(79.7%, 49%, 0%, 43.9%)
CIE-LABlab(31.83, 11.55, -43.07)
CIE-LCHlch(31.83, 44.59, 285.02°)
OKLaboklab(41.59% -0.023 -0.1237)
OKLCHoklch(41.59% 0.126 259.5)
XYZxyz(7.8454, 7.0086, 26.9206)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D498F #8F631D
analogous
#1D828F #1D498F #2A1D8F
triadic
#1D498F #8F1D49 #498F1D
tetradic
#1D498F #8F1D82 #8F631D #1D8F2A
square
#1D498F #8F1D82 #8F631D #1D8F2A
split-complementary
#1D498F #8F2A1D #828F1D
monochromatic
#081529 #132F5C #1D498F #2763C2 #4C83DB

Accessibility & contrast

On white

8.74
#1D498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D498F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D498F#FFFFFF#000000##FFFFFF
##1D498F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225092
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d498f;
/* rgb */ color: rgb(29, 73, 143);
/* oklch */ color: oklch(41.6% 0.126 259.5);
Tailwind
colors: {
  custom: {
    50: '#6b7bb0',
    500: '#1d498f',
    950: '#000000',
  },
}
SCSS
$custom: #1d498f;
$custom-light: #6b7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d498f",
  "rgb": {
    "r": 29,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 216.842,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41594,
    "c": 0.12585,
    "h": 259.5
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D498F

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

Preview Lab → · Contrast checker → · Palette generator →

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