#1D478F#1D478F

#1D478F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.1% C 0.128 H 260.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#1D478F
RGBrgb(29, 71, 143)
HSLhsl(218, 66%, 34%)
HSVhsv(218, 80%, 56%)
CMYKcmyk(79.7%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.23, 12.92, -44.03)
CIE-LCHlch(31.23, 45.88, 286.35°)
OKLaboklab(41.14% -0.0213 -0.1266)
OKLCHoklch(41.14% 0.128 260.4)
XYZxyz(7.7161, 6.7500, 26.8775)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D478F #8F651D
analogous
#1D808F #1D478F #2C1D8F
triadic
#1D478F #8F1D47 #478F1D
tetradic
#1D478F #8F1D80 #8F651D #1D8F2C
square
#1D478F #8F1D80 #8F651D #1D8F2C
split-complementary
#1D478F #8F2C1D #808F1D
monochromatic
#081429 #132E5C #1D478F #2760C2 #4C80DB

Accessibility & contrast

On white

8.94
#1D478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1D478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D478F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D478F#FFFFFF#000000##FFFFFF
##1D478F1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d478f;
/* rgb */ color: rgb(29, 71, 143);
/* oklch */ color: oklch(41.1% 0.128 260.4);
Tailwind
colors: {
  custom: {
    50: '#6c79b0',
    500: '#1d478f',
    950: '#000000',
  },
}
SCSS
$custom: #1d478f;
$custom-light: #6c79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d478f",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 217.895,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41137,
    "c": 0.12838,
    "h": 260.4
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#1D478F
secondary
#BD934B
accent
#AA3FE9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #1D478F

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

Preview Lab → · Contrast checker → · Palette generator →

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