#1D488D#1D488D

#1D488D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.124 H 259.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#1D488D
RGBrgb(29, 72, 141)
HSLhsl(217, 66%, 33%)
HSVhsv(217, 79%, 55%)
CMYKcmyk(79.4%, 48.9%, 0%, 44.7%)
CIE-LABlab(31.39, 11.43, -42.55)
CIE-LCHlch(31.39, 44.05, 285.03°)
OKLaboklab(41.21% -0.0225 -0.1222)
OKLCHoklch(41.21% 0.124 259.6)
XYZxyz(7.6300, 6.8181, 26.1080)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D488D #8D621D
analogous
#1D808D #1D488D #2A1D8D
triadic
#1D488D #8D1D48 #488D1D
tetradic
#1D488D #8D1D80 #8D621D #1D8D2A
square
#1D488D #8D1D80 #8D621D #1D8D2A
split-complementary
#1D488D #8D2A1D #808D1D
monochromatic
#081427 #132E5A #1D488D #2762C0 #4B82DA

Accessibility & contrast

On white

8.88
#1D488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1D488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D488D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D488D#FFFFFF#000000##FFFFFF
##1D488D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d488d;
/* rgb */ color: rgb(29, 72, 141);
/* oklch */ color: oklch(41.2% 0.124 259.6);
Tailwind
colors: {
  custom: {
    50: '#6b7aaf',
    500: '#1d488d',
    950: '#000000',
  },
}
SCSS
$custom: #1d488d;
$custom-light: #6b7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d488d",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 216.964,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.12426,
    "h": 259.6
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#1D488D
secondary
#BC904A
accent
#A83FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D488D

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

Preview Lab → · Contrast checker → · Palette generator →

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