#323CB2#323CB2

#323CB2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.184 H 272.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#323CB2
RGBrgb(50, 60, 178)
HSLhsl(235, 56%, 45%)
HSVhsv(235, 72%, 70%)
CMYKcmyk(71.9%, 66.3%, 0%, 30.2%)
CIE-LABlab(32.09, 36.13, -63.72)
CIE-LCHlch(32.09, 73.26, 299.55°)
OKLaboklab(42.92% 0.0067 -0.1842)
OKLCHoklch(42.92% 0.184 272.1)
XYZxyz(10.9644, 7.1231, 42.9079)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CB2 #B2A832
analogous
#327CB2 #323CB2 #6832B2
triadic
#323CB2 #B2323C #3CB232
tetradic
#323CB2 #B2327C #B2A832 #32B268
square
#323CB2 #B2327C #B2A832 #32B268
split-complementary
#323CB2 #B26832 #7CB232
monochromatic
#171C52 #252C82 #323CB2 #535CCF #8289DC

Accessibility & contrast

On white

8.66
#323CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#323CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CB2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CB2#FFFFFF#000000##FFFFFF
##323CB21.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323cb2;
/* rgb */ color: rgb(50, 60, 178);
/* oklch */ color: oklch(42.9% 0.184 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c72ca',
    500: '#323cb2',
    950: '#000000',
  },
}
SCSS
$custom: #323cb2;
$custom-light: #7c72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#323cb2",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 235.313,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.18429,
    "h": 272.1
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#323CB2
secondary
#C5BF7B
accent
#D448DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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