#323BB2#323BB2

#323BB2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.185 H 272.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#323BB2
RGBrgb(50, 59, 178)
HSLhsl(236, 56%, 45%)
HSVhsv(236, 72%, 70%)
CMYKcmyk(71.9%, 66.9%, 0%, 30.2%)
CIE-LABlab(31.85, 36.76, -64.11)
CIE-LCHlch(31.85, 73.90, 299.83°)
OKLaboklab(42.75% 0.0074 -0.1853)
OKLCHoklch(42.75% 0.185 272.3)
XYZxyz(10.9125, 7.0193, 42.8906)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323BB2 #B2A932
analogous
#327BB2 #323BB2 #6932B2
triadic
#323BB2 #B2323B #3BB232
tetradic
#323BB2 #B2327B #B2A932 #32B269
square
#323BB2 #B2327B #B2A932 #32B269
split-complementary
#323BB2 #B26932 #7BB232
monochromatic
#171B52 #252B82 #323BB2 #535BCF #8289DC

Accessibility & contrast

On white

8.74
#323BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323BB2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323BB2#FFFFFF#000000##FFFFFF
##323BB21.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323bb2;
/* rgb */ color: rgb(50, 59, 178);
/* oklch */ color: oklch(42.7% 0.185 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c71ca',
    500: '#323bb2',
    950: '#000000',
  },
}
SCSS
$custom: #323bb2;
$custom-light: #7c71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#323bb2",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 235.781,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.18545,
    "h": 272.3
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#323BB2
secondary
#C5C07B
accent
#D548DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #323BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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