#321FAC#321FAC

#321FAC is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.2% C 0.206 H 276.5°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#321FAC
RGBrgb(50, 31, 172)
HSLhsl(248, 69%, 40%)
HSVhsv(248, 82%, 67%)
CMYKcmyk(70.9%, 82%, 0%, 32.5%)
CIE-LABlab(25.67, 50.37, -70.71)
CIE-LCHlch(25.67, 86.81, 305.46°)
OKLaboklab(38.17% 0.0232 -0.2043)
OKLCHoklch(38.17% 0.206 276.5)
XYZxyz(9.2493, 4.6358, 39.4291)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321FAC #99AC1F
analogous
#1F53AC #321FAC #781FAC
triadic
#321FAC #AC321F #1FAC32
tetradic
#321FAC #AC1F53 #99AC1F #1FAC78
square
#321FAC #AC1F53 #99AC1F #1FAC78
split-complementary
#321FAC #AC781F #53AC1F
monochromatic
#140C44 #231678 #321FAC #462FD9 #7463E3

Accessibility & contrast

On white

10.90
#321FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#321FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321FAC
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321FAC#FFFFFF#000000##FFFFFF
##321FAC1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #321fac;
/* rgb */ color: rgb(50, 31, 172);
/* oklch */ color: oklch(38.2% 0.206 276.5);
Tailwind
colors: {
  custom: {
    50: '#7d60c6',
    500: '#321fac',
    950: '#000000',
  },
}
SCSS
$custom: #321fac;
$custom-light: #7d60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#321fac",
  "rgb": {
    "r": 50,
    "g": 31,
    "b": 172
  },
  "hsl": {
    "h": 248.085,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38174,
    "c": 0.20566,
    "h": 276.5
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#321FAC
secondary
#BAC85F
accent
#EC3CD4
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #321FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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