#321AB8#321AB8

#321AB8 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 39.1% C 0.223 H 275.5°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#321AB8
RGBrgb(50, 26, 184)
HSLhsl(249, 75%, 41%)
HSVhsv(249, 86%, 72%)
CMYKcmyk(72.8%, 85.9%, 0%, 27.8%)
CIE-LABlab(26.38, 55.97, -76.71)
CIE-LCHlch(26.38, 94.96, 306.11°)
OKLaboklab(39.07% 0.0212 -0.2217)
OKLCHoklch(39.07% 0.223 275.5)
XYZxyz(10.3337, 4.8766, 45.7348)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321AB8 #A0B81A
analogous
#1A51B8 #321AB8 #811AB8
triadic
#321AB8 #B8321A #1AB832
tetradic
#321AB8 #B81A51 #A0B81A #1AB881
square
#321AB8 #B81A51 #A0B81A #1AB881
split-complementary
#321AB8 #B8811A #51B81A
monochromatic
#150B4D #231282 #321AB8 #492EE1 #7863E9

Accessibility & contrast

On white

10.63
#321AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#321AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321AB8
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321AB8#FFFFFF#000000##FFFFFF
##321AB81.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045BC
Deuteranopia (green-blind)
#0037B5
Tritanopia (blue-blind)
#004F6D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #321ab8;
/* rgb */ color: rgb(50, 26, 184);
/* oklch */ color: oklch(39.1% 0.223 275.5);
Tailwind
colors: {
  custom: {
    50: '#805ecf',
    500: '#321ab8',
    950: '#000000',
  },
}
SCSS
$custom: #321ab8;
$custom-light: #805ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#321ab8",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 184
  },
  "hsl": {
    "h": 249.114,
    "s": 75.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39071,
    "c": 0.22269,
    "h": 275.5
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#321AB8
secondary
#BDCE60
accent
#F236D5
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #321AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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