#32478D#32478D

#32478D is a dark, moderate blue. Relative luminance 0.071; OKLCH L 42.0% C 0.119 H 268.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#32478D
RGBrgb(50, 71, 141)
HSLhsl(226, 48%, 37%)
HSVhsv(226, 65%, 55%)
CMYKcmyk(64.5%, 49.6%, 0%, 44.7%)
CIE-LABlab(32.05, 15.38, -41.43)
CIE-LCHlch(32.05, 44.20, 290.37°)
OKLaboklab(41.98% -0.0034 -0.1186)
OKLCHoklch(41.98% 0.119 268.4)
XYZxyz(8.3747, 7.1069, 26.1246)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32478D #8D7832
analogous
#32748D #32478D #4B328D
triadic
#32478D #8D3247 #478D32
tetradic
#32478D #8D3274 #8D7832 #328D4B
square
#32478D #8D3274 #8D7832 #328D4B
split-complementary
#32478D #8D4B32 #748D32
monochromatic
#121A33 #223060 #32478D #425EBA #6E83CC

Accessibility & contrast

On white

8.67
#32478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#32478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32478D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32478D#FFFFFF#000000##FFFFFF
##32478D1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#10488C
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #32478d;
/* rgb */ color: rgb(50, 71, 141);
/* oklch */ color: oklch(42.0% 0.119 268.4);
Tailwind
colors: {
  custom: {
    50: '#7479af',
    500: '#32478d',
    950: '#000000',
  },
}
SCSS
$custom: #32478d;
$custom-light: #7479af;
$custom-dark: #000000;
JSON
{
  "hex": "#32478d",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 226.154,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41981,
    "c": 0.11862,
    "h": 268.4
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#32478D
secondary
#B3A268
accent
#B851D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #32478D

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

Preview Lab → · Contrast checker → · Palette generator →

#32478D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva