#321AEC#321AEC

#321AEC is a mid, highly saturated blue. Relative luminance 0.075; OKLCH L 45.3% C 0.278 H 271.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#321AEC
RGBrgb(50, 26, 236)
HSLhsl(247, 85%, 51%)
HSVhsv(247, 89%, 93%)
CMYKcmyk(78.8%, 89%, 0%, 7.5%)
CIE-LABlab(32.86, 70.13, -96.16)
CIE-LCHlch(32.86, 119.01, 306.10°)
OKLaboklab(45.3% 0.0062 -0.2779)
OKLCHoklch(45.3% 0.278 271.3)
XYZxyz(16.8200, 7.4711, 79.8962)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321AEC #D4EC1A
analogous
#1A6BEC #321AEC #9B1AEC
triadic
#321AEC #EC321A #1AEC32
tetradic
#321AEC #EC1A6B #D4EC1A #1AEC9B
square
#321AEC #EC1A6B #D4EC1A #1AEC9B
split-complementary
#321AEC #EC9B1A #6BEC1A
monochromatic
#180B81 #230FB9 #321AEC #6553F1 #978BF5

Accessibility & contrast

On white

8.42
#321AEC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#321AEC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321AEC
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321AEC#FFFFFF#000000##FFFFFF
##321AEC1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057F1
Deuteranopia (green-blind)
#0043E9
Tritanopia (blue-blind)
#00658C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #321aec;
/* rgb */ color: rgb(50, 26, 236);
/* oklch */ color: oklch(45.3% 0.278 271.3);
Tailwind
colors: {
  custom: {
    50: '#8c63f4',
    500: '#321aec',
    950: '#000000',
  },
}
SCSS
$custom: #321aec;
$custom-light: #8c63f4;
$custom-dark: #000000;
JSON
{
  "hex": "#321aec",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 236
  },
  "hsl": {
    "h": 246.857,
    "s": 84.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45298,
    "c": 0.278,
    "h": 271.3
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#321AEC
secondary
#D5DF83
accent
#FB2DE3
background
#F9F6FF
surface
#F2EBFF
border
#CCC6D7
text
#0F0617
muted
#7E7A85

Preview Lab

Preview with #321AEC

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

Preview Lab → · Contrast checker → · Palette generator →

#321AEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva