#321F93#321F93

#321F93 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.176 H 279.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#321F93
RGBrgb(50, 31, 147)
HSLhsl(250, 65%, 35%)
HSVhsv(250, 79%, 58%)
CMYKcmyk(66%, 78.9%, 0%, 42.4%)
CIE-LABlab(22.88, 42.71, -60.08)
CIE-LCHlch(22.88, 73.72, 305.41°)
OKLaboklab(35.41% 0.0303 -0.1734)
OKLCHoklch(35.41% 0.176 279.9)
XYZxyz(7.0702, 3.7641, 27.9521)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321F93 #80931F
analogous
#1F4693 #321F93 #6C1F93
triadic
#321F93 #93321F #1F9332
tetradic
#321F93 #931F46 #80931F #1F936C
square
#321F93 #931F46 #80931F #1F936C
split-complementary
#321F93 #936C1F #46931F
monochromatic
#100A2E #211460 #321F93 #432AC6 #6852DA

Accessibility & contrast

On white

11.98
#321F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#321F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321F93
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321F93#FFFFFF#000000##FFFFFF
##321F931.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #321f93;
/* rgb */ color: rgb(50, 31, 147);
/* oklch */ color: oklch(35.4% 0.176 279.9);
Tailwind
colors: {
  custom: {
    50: '#785eb4',
    500: '#321f93',
    950: '#000000',
  },
}
SCSS
$custom: #321f93;
$custom-light: #785eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#321f93",
  "rgb": {
    "r": 50,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 249.828,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35408,
    "c": 0.17608,
    "h": 279.9
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#321F93
secondary
#ACBE50
accent
#E840CD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #321F93

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

Preview Lab → · Contrast checker → · Palette generator →

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