#323FA6#323FA6

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

Color values

HEX#323FA6
RGBrgb(50, 63, 166)
HSLhsl(233, 54%, 42%)
HSVhsv(233, 70%, 65%)
CMYKcmyk(69.9%, 62%, 0%, 34.9%)
CIE-LABlab(31.77, 29.91, -57.06)
CIE-LCHlch(31.77, 64.43, 297.67°)
OKLaboklab(42.37% 0.0052 -0.1646)
OKLCHoklch(42.37% 0.165 271.8)
XYZxyz(9.9735, 6.9853, 36.8917)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FA6 #A69932
analogous
#3279A6 #323FA6 #5F32A6
triadic
#323FA6 #A6323F #3FA632
tetradic
#323FA6 #A63279 #A69932 #32A65F
square
#323FA6 #A63279 #A69932 #32A65F
split-complementary
#323FA6 #A65F32 #79A632
monochromatic
#161B48 #242D77 #323FA6 #4C5AC9 #7B85D7

Accessibility & contrast

On white

8.76
#323FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#323FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FA6
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FA6#FFFFFF#000000##FFFFFF
##323FA61.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323fa6;
/* rgb */ color: rgb(50, 63, 166);
/* oklch */ color: oklch(42.4% 0.165 271.8);
Tailwind
colors: {
  custom: {
    50: '#7974c1',
    500: '#323fa6',
    950: '#000000',
  },
}
SCSS
$custom: #323fa6;
$custom-light: #7974c1;
$custom-dark: #000000;
JSON
{
  "hex": "#323fa6",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 233.276,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42369,
    "c": 0.1647,
    "h": 271.8
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#323FA6
secondary
#C0B774
accent
#CD4BDD
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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