#32318C#32318C

#32318C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.147 H 277.1°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#32318C
RGBrgb(50, 49, 140)
HSLhsl(241, 48%, 37%)
HSVhsv(241, 65%, 55%)
CMYKcmyk(64.3%, 65%, 0%, 45.1%)
CIE-LABlab(26.06, 29.73, -50.52)
CIE-LCHlch(26.06, 58.61, 300.48°)
OKLaboklab(37.48% 0.0182 -0.1455)
OKLCHoklch(37.48% 0.147 277.1)
XYZxyz(7.1458, 4.7676, 25.3495)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32318C #8B8C31
analogous
#315E8C #32318C #5F318C
triadic
#32318C #8C3231 #318C32
tetradic
#32318C #8C315E #8B8C31 #318C5F
square
#32318C #8C315E #8B8C31 #318C5F
split-complementary
#32318C #8C5F31 #5E8C31
monochromatic
#121131 #22215F #32318C #4241B9 #6D6CCC

Accessibility & contrast

On white

10.75
#32318C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#32318C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32318C
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32318C#FFFFFF#000000##FFFFFF
##32318C1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #32318c;
/* rgb */ color: rgb(50, 49, 140);
/* oklch */ color: oklch(37.5% 0.147 277.1);
Tailwind
colors: {
  custom: {
    50: '#7569ae',
    500: '#32318c',
    950: '#000000',
  },
}
SCSS
$custom: #32318c;
$custom-light: #7569ae;
$custom-dark: #000000;
JSON
{
  "hex": "#32318c",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 240.659,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.14665,
    "h": 277.1
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#32318C
secondary
#B2B366
accent
#D850D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #32318C

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

Preview Lab → · Contrast checker → · Palette generator →

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