#1D478D#1D478D

#1D478D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.126 H 260.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#1D478D
RGBrgb(29, 71, 141)
HSLhsl(218, 66%, 33%)
HSVhsv(218, 79%, 55%)
CMYKcmyk(79.4%, 49.6%, 0%, 44.7%)
CIE-LABlab(31.09, 12.11, -43.03)
CIE-LCHlch(31.09, 44.70, 285.72°)
OKLaboklab(40.98% -0.0216 -0.1236)
OKLCHoklch(40.98% 0.126 260.1)
XYZxyz(7.5659, 6.6899, 26.0867)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D478D #8D631D
analogous
#1D7F8D #1D478D #2B1D8D
triadic
#1D478D #8D1D47 #478D1D
tetradic
#1D478D #8D1D7F #8D631D #1D8D2B
square
#1D478D #8D1D7F #8D631D #1D8D2B
split-complementary
#1D478D #8D2B1D #7F8D1D
monochromatic
#081427 #132D5A #1D478D #2761C0 #4B80DA

Accessibility & contrast

On white

8.98
#1D478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1D478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D478D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D478D#FFFFFF#000000##FFFFFF
##1D478D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d478d;
/* rgb */ color: rgb(29, 71, 141);
/* oklch */ color: oklch(41.0% 0.126 260.1);
Tailwind
colors: {
  custom: {
    50: '#6b79af',
    500: '#1d478d',
    950: '#000000',
  },
}
SCSS
$custom: #1d478d;
$custom-light: #6b79af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d478d",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 217.5,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40984,
    "c": 0.12553,
    "h": 260.1
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#1D478D
secondary
#BC914A
accent
#A93FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D478D

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

Preview Lab → · Contrast checker → · Palette generator →

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