#323FA3#323FA3

#323FA3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.161 H 271.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#323FA3
RGBrgb(50, 63, 163)
HSLhsl(233, 53%, 42%)
HSVhsv(233, 69%, 64%)
CMYKcmyk(69.3%, 61.3%, 0%, 36.1%)
CIE-LABlab(31.52, 28.83, -55.66)
CIE-LCHlch(31.52, 62.68, 297.38°)
OKLaboklab(42.11% 0.0053 -0.1605)
OKLCHoklch(42.11% 0.161 271.9)
XYZxyz(9.7015, 6.8765, 35.4593)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FA3 #A39632
analogous
#3278A3 #323FA3 #5D32A3
triadic
#323FA3 #A3323F #3FA332
tetradic
#323FA3 #A33278 #A39632 #32A35D
square
#323FA3 #A33278 #A39632 #32A35D
split-complementary
#323FA3 #A35D32 #78A332
monochromatic
#151B45 #242D74 #323FA3 #4B59C8 #7984D6

Accessibility & contrast

On white

8.84
#323FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#323FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FA3
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FA3#FFFFFF#000000##FFFFFF
##323FA31.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323fa3;
/* rgb */ color: rgb(50, 63, 163);
/* oklch */ color: oklch(42.1% 0.161 271.9);
Tailwind
colors: {
  custom: {
    50: '#7974bf',
    500: '#323fa3',
    950: '#000000',
  },
}
SCSS
$custom: #323fa3;
$custom-light: #7974bf;
$custom-dark: #000000;
JSON
{
  "hex": "#323fa3",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 233.097,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.1606,
    "h": 271.9
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#323FA3
secondary
#BFB672
accent
#CC4BDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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