#32318F#32318F

#32318F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.151 H 276.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#32318F
RGBrgb(50, 49, 143)
HSLhsl(241, 49%, 38%)
HSVhsv(241, 66%, 56%)
CMYKcmyk(65%, 65.7%, 0%, 43.9%)
CIE-LABlab(26.32, 30.78, -51.95)
CIE-LCHlch(26.32, 60.38, 300.65°)
OKLaboklab(37.76% 0.018 -0.1497)
OKLCHoklch(37.76% 0.151 276.8)
XYZxyz(7.3700, 4.8573, 26.5304)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32318F #8E8F31
analogous
#315F8F #32318F #61318F
triadic
#32318F #8F3231 #318F32
tetradic
#32318F #8F315F #8E8F31 #318F61
square
#32318F #8F315F #8E8F31 #318F61
split-complementary
#32318F #8F6131 #5F8F31
monochromatic
#121234 #222161 #32318F #4241BD #6E6DCD

Accessibility & contrast

On white

10.65
#32318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#32318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32318F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32318F#FFFFFF#000000##FFFFFF
##32318F1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #32318f;
/* rgb */ color: rgb(50, 49, 143);
/* oklch */ color: oklch(37.8% 0.151 276.8);
Tailwind
colors: {
  custom: {
    50: '#7569b1',
    500: '#32318f',
    950: '#000000',
  },
}
SCSS
$custom: #32318f;
$custom-light: #7569b1;
$custom-dark: #000000;
JSON
{
  "hex": "#32318f",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 240.638,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37756,
    "c": 0.15078,
    "h": 276.8
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#32318F
secondary
#B4B567
accent
#D94FD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #32318F

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

Preview Lab → · Contrast checker → · Palette generator →

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