#1D478A#1D478A

#1D478A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.121 H 259.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#1D478A
RGBrgb(29, 71, 138)
HSLhsl(217, 65%, 33%)
HSVhsv(217, 79%, 54%)
CMYKcmyk(79%, 48.6%, 0%, 45.9%)
CIE-LABlab(30.88, 10.90, -41.52)
CIE-LCHlch(30.88, 42.92, 284.71°)
OKLaboklab(40.76% -0.0221 -0.1192)
OKLCHoklch(40.76% 0.121 259.5)
XYZxyz(7.3457, 6.6018, 24.9270)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D478A #8A601D
analogous
#1D7D8A #1D478A #2A1D8A
triadic
#1D478A #8A1D47 #478A1D
tetradic
#1D478A #8A1D7D #8A601D #1D8A2A
square
#1D478A #8A1D7D #8A601D #1D8A2A
split-complementary
#1D478A #8A2A1D #7D8A1D
monochromatic
#081325 #122D57 #1D478A #2861BD #4980D9

Accessibility & contrast

On white

9.05
#1D478A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1D478A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D478A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D478A#FFFFFF#000000##FFFFFF
##1D478A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8C
Deuteranopia (green-blind)
#034489
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d478a;
/* rgb */ color: rgb(29, 71, 138);
/* oklch */ color: oklch(40.8% 0.121 259.5);
Tailwind
colors: {
  custom: {
    50: '#6a79ad',
    500: '#1d478a',
    950: '#000000',
  },
}
SCSS
$custom: #1d478a;
$custom-light: #6a79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d478a",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 216.881,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40759,
    "c": 0.12124,
    "h": 259.5
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#1D478A
secondary
#BB8F48
accent
#A740E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1D478A

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

Preview Lab → · Contrast checker → · Palette generator →

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