#321EA0#321EA0

#321EA0 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.7% C 0.193 H 278.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#321EA0
RGBrgb(50, 30, 160)
HSLhsl(249, 68%, 37%)
HSVhsv(249, 81%, 63%)
CMYKcmyk(68.8%, 81.3%, 0%, 37.3%)
CIE-LABlab(24.14, 47.21, -65.97)
CIE-LCHlch(24.14, 81.13, 305.59°)
OKLaboklab(36.71% 0.0271 -0.1906)
OKLCHoklch(36.71% 0.193 278.1)
XYZxyz(8.1228, 4.1440, 33.6227)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321EA0 #8CA01E
analogous
#1E4BA0 #321EA0 #731EA0
triadic
#321EA0 #A0321E #1EA032
tetradic
#321EA0 #A01E4B #8CA01E #1EA073
square
#321EA0 #A01E4B #8CA01E #1EA073
split-complementary
#321EA0 #A0731E #4BA01E
monochromatic
#120B39 #22146C #321EA0 #4228D4 #6D59E0

Accessibility & contrast

On white

11.48
#321EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#321EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321EA0
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321EA0#FFFFFF#000000##FFFFFF
##321EA01.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #321ea0;
/* rgb */ color: rgb(50, 30, 160);
/* oklch */ color: oklch(36.7% 0.193 278.1);
Tailwind
colors: {
  custom: {
    50: '#7b5ebd',
    500: '#321ea0',
    950: '#000000',
  },
}
SCSS
$custom: #321ea0;
$custom-light: #7b5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#321ea0",
  "rgb": {
    "r": 50,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 249.231,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36715,
    "c": 0.1925,
    "h": 278.1
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#321EA0
secondary
#B3C456
accent
#EB3DD0
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #321EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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