#323F99#323F99

#323F99 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.147 H 272.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#323F99
RGBrgb(50, 63, 153)
HSLhsl(232, 51%, 40%)
HSVhsv(232, 67%, 60%)
CMYKcmyk(67.3%, 58.8%, 0%, 40%)
CIE-LABlab(30.72, 25.18, -50.92)
CIE-LCHlch(30.72, 56.80, 296.31°)
OKLaboklab(41.26% 0.0053 -0.1466)
OKLCHoklch(41.26% 0.147 272.1)
XYZxyz(8.8407, 6.5322, 30.9258)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323F99 #998C32
analogous
#327399 #323F99 #583299
triadic
#323F99 #99323F #3F9932
tetradic
#323F99 #993273 #998C32 #329958
square
#323F99 #993273 #998C32 #329958
split-complementary
#323F99 #995832 #739932
monochromatic
#14193D #232C6B #323F99 #4655C2 #7480D2

Accessibility & contrast

On white

9.10
#323F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#323F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323F99
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323F99#FFFFFF#000000##FFFFFF
##323F991.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323f99;
/* rgb */ color: rgb(50, 63, 153);
/* oklch */ color: oklch(41.3% 0.147 272.1);
Tailwind
colors: {
  custom: {
    50: '#7673b8',
    500: '#323f99',
    950: '#000000',
  },
}
SCSS
$custom: #323f99;
$custom-light: #7673b8;
$custom-dark: #000000;
JSON
{
  "hex": "#323f99",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 232.427,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41255,
    "c": 0.14668,
    "h": 272.1
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#323F99
secondary
#BAB06D
accent
#C84EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #323F99

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

Preview Lab → · Contrast checker → · Palette generator →

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