#323F9C#323F9C

#323F9C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.151 H 272.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#323F9C
RGBrgb(50, 63, 156)
HSLhsl(233, 51%, 40%)
HSVhsv(233, 68%, 61%)
CMYKcmyk(67.9%, 59.6%, 0%, 38.8%)
CIE-LABlab(30.96, 26.27, -52.36)
CIE-LCHlch(30.96, 58.58, 296.65°)
OKLaboklab(41.51% 0.0054 -0.1508)
OKLCHoklch(41.51% 0.151 272)
XYZxyz(9.0916, 6.6326, 32.2471)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F9C #9C8F32
analogous
#32749C #323F9C #5A329C
triadic
#323F9C #9C323F #3F9C32
tetradic
#323F9C #9C3274 #9C8F32 #329C5A
square
#323F9C #9C3274 #9C8F32 #329C5A
split-complementary
#323F9C #9C5A32 #749C32
monochromatic
#141A3F #232C6E #323F9C #4756C4 #7581D3

Accessibility & contrast

On white

9.03
#323F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#323F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F9C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F9C#FFFFFF#000000##FFFFFF
##323F9C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323f9c;
/* rgb */ color: rgb(50, 63, 156);
/* oklch */ color: oklch(41.5% 0.151 272.0);
Tailwind
colors: {
  custom: {
    50: '#7774ba',
    500: '#323f9c',
    950: '#000000',
  },
}
SCSS
$custom: #323f9c;
$custom-light: #7774ba;
$custom-dark: #000000;
JSON
{
  "hex": "#323f9c",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 156
  },
  "hsl": {
    "h": 232.642,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.15089,
    "h": 272
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#323F9C
secondary
#BBB26F
accent
#C94DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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