#32418F#32418F

#32418F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.130 H 271.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#32418F
RGBrgb(50, 65, 143)
HSLhsl(230, 48%, 38%)
HSVhsv(230, 65%, 56%)
CMYKcmyk(65%, 54.5%, 0%, 43.9%)
CIE-LABlab(30.50, 20.16, -45.16)
CIE-LCHlch(30.50, 49.46, 294.06°)
OKLaboklab(40.85% 0.003 -0.1296)
OKLCHoklch(40.85% 0.13 271.3)
XYZxyz(8.1620, 6.4412, 26.7944)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32418F #8F8032
analogous
#326F8F #32418F #52328F
triadic
#32418F #8F3241 #418F32
tetradic
#32418F #8F326F #8F8032 #328F52
square
#32418F #8F326F #8F8032 #328F52
split-complementary
#32418F #8F5232 #6F8F32
monochromatic
#121834 #222C62 #32418F #4256BC #6F7ECD

Accessibility & contrast

On white

9.18
#32418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#32418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32418F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32418F#FFFFFF#000000##FFFFFF
##32418F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #32418f;
/* rgb */ color: rgb(50, 65, 143);
/* oklch */ color: oklch(40.9% 0.130 271.3);
Tailwind
colors: {
  custom: {
    50: '#7475b0',
    500: '#32418f',
    950: '#000000',
  },
}
SCSS
$custom: #32418f;
$custom-light: #7475b0;
$custom-dark: #000000;
JSON
{
  "hex": "#32418f",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 230.323,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40852,
    "c": 0.12964,
    "h": 271.3
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#32418F
secondary
#B4A868
accent
#C250D8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #32418F

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

Preview Lab → · Contrast checker → · Palette generator →

#32418F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva