#323FA4#323FA4

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

Color values

HEX#323FA4
RGBrgb(50, 63, 164)
HSLhsl(233, 53%, 42%)
HSVhsv(233, 70%, 64%)
CMYKcmyk(69.5%, 61.6%, 0%, 35.7%)
CIE-LABlab(31.61, 29.19, -56.13)
CIE-LCHlch(31.61, 63.27, 297.48°)
OKLaboklab(42.19% 0.0053 -0.1619)
OKLCHoklch(42.19% 0.162 271.9)
XYZxyz(9.7915, 6.9125, 35.9330)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FA4 #A49732
analogous
#3278A4 #323FA4 #5E32A4
triadic
#323FA4 #A4323F #3FA432
tetradic
#323FA4 #A43278 #A49732 #32A45E
square
#323FA4 #A43278 #A49732 #32A45E
split-complementary
#323FA4 #A45E32 #78A432
monochromatic
#151B46 #242D75 #323FA4 #4B59C8 #7A85D6

Accessibility & contrast

On white

8.81
#323FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323FA4
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FA4#FFFFFF#000000##FFFFFF
##323FA41.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323fa4;
/* rgb */ color: rgb(50, 63, 164);
/* oklch */ color: oklch(42.2% 0.162 271.9);
Tailwind
colors: {
  custom: {
    50: '#7974c0',
    500: '#323fa4',
    950: '#000000',
  },
}
SCSS
$custom: #323fa4;
$custom-light: #7974c0;
$custom-dark: #000000;
JSON
{
  "hex": "#323fa4",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 233.158,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42194,
    "c": 0.16198,
    "h": 271.9
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#323FA4
secondary
#BFB673
accent
#CC4BDD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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