#323FA2#323FA2

#323FA2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.159 H 271.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#323FA2
RGBrgb(50, 63, 162)
HSLhsl(233, 53%, 42%)
HSVhsv(233, 69%, 64%)
CMYKcmyk(69.1%, 61.1%, 0%, 36.5%)
CIE-LABlab(31.44, 28.46, -55.19)
CIE-LCHlch(31.44, 62.10, 297.28°)
OKLaboklab(42.02% 0.0053 -0.1591)
OKLCHoklch(42.02% 0.159 271.9)
XYZxyz(9.6123, 6.8408, 34.9893)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FA2 #A29532
analogous
#3277A2 #323FA2 #5D32A2
triadic
#323FA2 #A2323F #3FA232
tetradic
#323FA2 #A23277 #A29532 #32A25D
square
#323FA2 #A23277 #A29532 #32A25D
split-complementary
#323FA2 #A25D32 #77A232
monochromatic
#151B44 #242D73 #323FA2 #4A59C7 #7984D6

Accessibility & contrast

On white

8.87
#323FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#323FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FA2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FA2#FFFFFF#000000##FFFFFF
##323FA21.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323fa2;
/* rgb */ color: rgb(50, 63, 162);
/* oklch */ color: oklch(42.0% 0.159 271.9);
Tailwind
colors: {
  custom: {
    50: '#7874be',
    500: '#323fa2',
    950: '#000000',
  },
}
SCSS
$custom: #323fa2;
$custom-light: #7874be;
$custom-dark: #000000;
JSON
{
  "hex": "#323fa2",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 233.036,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4202,
    "c": 0.15923,
    "h": 271.9
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#323FA2
secondary
#BEB572
accent
#CB4CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323FA2

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

Preview Lab → · Contrast checker → · Palette generator →

#323FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva