#1D488F#1D488F

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

Color values

HEX#1D488F
RGBrgb(29, 72, 143)
HSLhsl(217, 66%, 34%)
HSVhsv(217, 80%, 56%)
CMYKcmyk(79.7%, 49.7%, 0%, 43.9%)
CIE-LABlab(31.53, 12.24, -43.55)
CIE-LCHlch(31.53, 45.23, 285.69°)
OKLaboklab(41.37% -0.0221 -0.1252)
OKLCHoklch(41.37% 0.127 260)
XYZxyz(7.7802, 6.8782, 26.8989)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D488F #8F641D
analogous
#1D818F #1D488F #2B1D8F
triadic
#1D488F #8F1D48 #488F1D
tetradic
#1D488F #8F1D81 #8F641D #1D8F2B
square
#1D488F #8F1D81 #8F641D #1D8F2B
split-complementary
#1D488F #8F2B1D #818F1D
monochromatic
#081529 #132E5C #1D488F #2762C2 #4C82DB

Accessibility & contrast

On white

8.84
#1D488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D488F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D488F#FFFFFF#000000##FFFFFF
##1D488F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d488f;
/* rgb */ color: rgb(29, 72, 143);
/* oklch */ color: oklch(41.4% 0.127 260.0);
Tailwind
colors: {
  custom: {
    50: '#6c7ab0',
    500: '#1d488f',
    950: '#000000',
  },
}
SCSS
$custom: #1d488f;
$custom-light: #6c7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d488f",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 217.368,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.12711,
    "h": 260
  },
  "luminance": 0.06879
}

Semantic roles & 50–950 ramp

primary
#1D488F
secondary
#BD924B
accent
#A93FE9
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D488F

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

Preview Lab → · Contrast checker → · Palette generator →

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