#323FA5#323FA5

#323FA5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.163 H 271.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#323FA5
RGBrgb(50, 63, 165)
HSLhsl(233, 53%, 42%)
HSVhsv(233, 70%, 65%)
CMYKcmyk(69.7%, 61.8%, 0%, 35.3%)
CIE-LABlab(31.69, 29.55, -56.60)
CIE-LCHlch(31.69, 63.85, 297.57°)
OKLaboklab(42.28% 0.0053 -0.1633)
OKLCHoklch(42.28% 0.163 271.8)
XYZxyz(9.8821, 6.9488, 36.4105)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FA5 #A59832
analogous
#3279A5 #323FA5 #5E32A5
triadic
#323FA5 #A5323F #3FA532
tetradic
#323FA5 #A53279 #A59832 #32A55E
square
#323FA5 #A53279 #A59832 #32A55E
split-complementary
#323FA5 #A55E32 #79A532
monochromatic
#161B47 #242D76 #323FA5 #4C5AC9 #7B85D7

Accessibility & contrast

On white

8.79
#323FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#323FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FA5
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FA5#FFFFFF#000000##FFFFFF
##323FA51.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323fa5;
/* rgb */ color: rgb(50, 63, 165);
/* oklch */ color: oklch(42.3% 0.163 271.8);
Tailwind
colors: {
  custom: {
    50: '#7974c1',
    500: '#323fa5',
    950: '#000000',
  },
}
SCSS
$custom: #323fa5;
$custom-light: #7974c1;
$custom-dark: #000000;
JSON
{
  "hex": "#323fa5",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 233.217,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42281,
    "c": 0.16334,
    "h": 271.8
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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