#32277A#32277A

#32277A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.135 H 282.6°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#32277A
RGBrgb(50, 39, 122)
HSLhsl(248, 52%, 32%)
HSVhsv(248, 68%, 48%)
CMYKcmyk(59%, 68%, 0%, 52.2%)
CIE-LABlab(22.07, 29.93, -45.73)
CIE-LCHlch(22.07, 54.66, 303.20°)
OKLaboklab(34.08% 0.0294 -0.1315)
OKLCHoklch(34.08% 0.135 282.6)
XYZxyz(5.5527, 3.5339, 18.7981)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32277A #6F7A27
analogous
#27467A #32277A #5C277A
triadic
#32277A #7A3227 #277A32
tetradic
#32277A #7A2746 #6F7A27 #277A5C
square
#32277A #7A2746 #6F7A27 #277A5C
split-complementary
#32277A #7A5C27 #467A27
monochromatic
#0C091D #1F184C #32277A #4536A8 #6353C8

Accessibility & contrast

On white

12.30
#32277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#32277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32277A
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32277A#FFFFFF#000000##FFFFFF
##32277A1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#0C3C4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #32277a;
/* rgb */ color: rgb(50, 39, 122);
/* oklch */ color: oklch(34.1% 0.135 282.6);
Tailwind
colors: {
  custom: {
    50: '#7262a1',
    500: '#32277a',
    950: '#000000',
  },
}
SCSS
$custom: #32277a;
$custom-light: #7262a1;
$custom-dark: #000000;
JSON
{
  "hex": "#32277a",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 247.952,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34084,
    "c": 0.13475,
    "h": 282.6
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#32277A
secondary
#A0AC51
accent
#DB4DC8
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#08050F
muted
#7B797F

Preview Lab

Preview with #32277A

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

Preview Lab → · Contrast checker → · Palette generator →

#32277A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva