#32478C#32478C

#32478C is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.117 H 268.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#32478C
RGBrgb(50, 71, 140)
HSLhsl(226, 47%, 37%)
HSVhsv(226, 64%, 55%)
CMYKcmyk(64.3%, 49.3%, 0%, 45.1%)
CIE-LABlab(31.98, 15.01, -40.93)
CIE-LCHlch(31.98, 43.59, 290.14°)
OKLaboklab(41.91% -0.0035 -0.1171)
OKLCHoklch(41.91% 0.117 268.3)
XYZxyz(8.3006, 7.0773, 25.7345)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32478C #8C7732
analogous
#32748C #32478C #4A328C
triadic
#32478C #8C3247 #478C32
tetradic
#32478C #8C3274 #8C7732 #328C4A
square
#32478C #8C3274 #8C7732 #328C4A
split-complementary
#32478C #8C4A32 #748C32
monochromatic
#121932 #22305F #32478C #425EB9 #6D83CB

Accessibility & contrast

On white

8.69
#32478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32478C
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32478C#FFFFFF#000000##FFFFFF
##32478C1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24508F
Deuteranopia (green-blind)
#12478B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #32478c;
/* rgb */ color: rgb(50, 71, 140);
/* oklch */ color: oklch(41.9% 0.117 268.3);
Tailwind
colors: {
  custom: {
    50: '#7379ae',
    500: '#32478c',
    950: '#000000',
  },
}
SCSS
$custom: #32478c;
$custom-light: #7379ae;
$custom-dark: #000000;
JSON
{
  "hex": "#32478c",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 226,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.11713,
    "h": 268.3
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32478C

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

Preview Lab → · Contrast checker → · Palette generator →

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