#1D488E#1D488E

#1D488E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.126 H 259.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#1D488E
RGBrgb(29, 72, 142)
HSLhsl(217, 66%, 34%)
HSVhsv(217, 80%, 56%)
CMYKcmyk(79.6%, 49.3%, 0%, 44.3%)
CIE-LABlab(31.46, 11.83, -43.05)
CIE-LCHlch(31.46, 44.64, 285.37°)
OKLaboklab(41.29% -0.0223 -0.1237)
OKLCHoklch(41.29% 0.126 259.8)
XYZxyz(7.7048, 6.8480, 26.5017)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D488E #8E631D
analogous
#1D808E #1D488E #2A1D8E
triadic
#1D488E #8E1D48 #488E1D
tetradic
#1D488E #8E1D80 #8E631D #1D8E2A
square
#1D488E #8E1D80 #8E631D #1D8E2A
split-complementary
#1D488E #8E2A1D #808E1D
monochromatic
#081428 #132E5B #1D488E #2762C1 #4B82DA

Accessibility & contrast

On white

8.86
#1D488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1D488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D488E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D488E#FFFFFF#000000##FFFFFF
##1D488E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d488e;
/* rgb */ color: rgb(29, 72, 142);
/* oklch */ color: oklch(41.3% 0.126 259.8);
Tailwind
colors: {
  custom: {
    50: '#6b7aaf',
    500: '#1d488e',
    950: '#000000',
  },
}
SCSS
$custom: #1d488e;
$custom-light: #6b7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d488e",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 217.168,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41289,
    "c": 0.12568,
    "h": 259.8
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#1D488E
secondary
#BD914A
accent
#A83FE9
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D488E

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

Preview Lab → · Contrast checker → · Palette generator →

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