#32478E#32478E

#32478E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.120 H 268.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#32478E
RGBrgb(50, 71, 142)
HSLhsl(226, 48%, 38%)
HSVhsv(226, 65%, 56%)
CMYKcmyk(64.8%, 50%, 0%, 44.3%)
CIE-LABlab(32.12, 15.75, -41.94)
CIE-LCHlch(32.12, 44.80, 290.59°)
OKLaboklab(42.05% -0.0032 -0.12)
OKLCHoklch(42.05% 0.12 268.5)
XYZxyz(8.4495, 7.1368, 26.5182)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32478E #8E7932
analogous
#32758E #32478E #4B328E
triadic
#32478E #8E3247 #478E32
tetradic
#32478E #8E3275 #8E7932 #328E4B
square
#32478E #8E3275 #8E7932 #328E4B
split-complementary
#32478E #8E4B32 #758E32
monochromatic
#121A33 #223061 #32478E #425EBB #6E84CC

Accessibility & contrast

On white

8.65
#32478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#32478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32478E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32478E#FFFFFF#000000##FFFFFF
##32478E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#0E488D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #32478e;
/* rgb */ color: rgb(50, 71, 142);
/* oklch */ color: oklch(42.1% 0.120 268.5);
Tailwind
colors: {
  custom: {
    50: '#7479af',
    500: '#32478e',
    950: '#000000',
  },
}
SCSS
$custom: #32478e;
$custom-light: #7479af;
$custom-dark: #000000;
JSON
{
  "hex": "#32478e",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 226.304,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.12009,
    "h": 268.5
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

primary
#32478E
secondary
#B4A368
accent
#B950D8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #32478E

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

Preview Lab → · Contrast checker → · Palette generator →

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