#323FAA#323FAA

#323FAA is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.170 H 271.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#323FAA
RGBrgb(50, 63, 170)
HSLhsl(234, 55%, 43%)
HSVhsv(234, 71%, 67%)
CMYKcmyk(70.6%, 62.9%, 0%, 33.3%)
CIE-LABlab(32.11, 31.36, -58.91)
CIE-LCHlch(32.11, 66.74, 298.03°)
OKLaboklab(42.72% 0.0051 -0.17)
OKLCHoklch(42.72% 0.17 271.7)
XYZxyz(10.3461, 7.1344, 38.8542)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FAA #AA9D32
analogous
#327BAA #323FAA #6132AA
triadic
#323FAA #AA323F #3FAA32
tetradic
#323FAA #AA327B #AA9D32 #32AA61
square
#323FAA #AA327B #AA9D32 #32AA61
split-complementary
#323FAA #AA6132 #7BAA32
monochromatic
#161C4B #242D7B #323FAA #4E5CCB #7D87D9

Accessibility & contrast

On white

8.65
#323FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#323FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FAA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FAA#FFFFFF#000000##FFFFFF
##323FAA1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #323faa;
/* rgb */ color: rgb(50, 63, 170);
/* oklch */ color: oklch(42.7% 0.170 271.7);
Tailwind
colors: {
  custom: {
    50: '#7a74c4',
    500: '#323faa',
    950: '#000000',
  },
}
SCSS
$custom: #323faa;
$custom-light: #7a74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#323faa",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 233.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42722,
    "c": 0.17012,
    "h": 271.7
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#323FAA
secondary
#C2BA76
accent
#CE4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #323FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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