#323CCB#323CCB

#323CCB is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.3% C 0.216 H 271.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#323CCB
RGBrgb(50, 60, 203)
HSLhsl(236, 60%, 50%)
HSVhsv(236, 75%, 80%)
CMYKcmyk(75.4%, 70.4%, 0%, 20.4%)
CIE-LABlab(34.44, 44.80, -74.56)
CIE-LCHlch(34.44, 86.99, 301.00°)
OKLaboklab(45.34% 0.004 -0.2158)
OKLCHoklch(45.34% 0.216 271.1)
XYZxyz(13.7071, 8.2201, 57.3526)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CCB #CBC132
analogous
#3289CB #323CCB #7432CB
triadic
#323CCB #CB323C #3CCB32
tetradic
#323CCB #CB3289 #CBC132 #32CB74
square
#323CCB #CB3289 #CBC132 #32CB74
split-complementary
#323CCB #CB7432 #89CB32
monochromatic
#1A1F69 #262D9A #323CCB #626AD8 #9398E4

Accessibility & contrast

On white

7.94
#323CCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#323CCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CCB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CCB#FFFFFF#000000##FFFFFF
##323CCB1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CF
Deuteranopia (green-blind)
#004AC8
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #323ccb;
/* rgb */ color: rgb(50, 60, 203);
/* oklch */ color: oklch(45.3% 0.216 271.1);
Tailwind
colors: {
  custom: {
    50: '#8273dc',
    500: '#323ccb',
    950: '#000000',
  },
}
SCSS
$custom: #323ccb;
$custom-light: #8273dc;
$custom-dark: #000000;
JSON
{
  "hex": "#323ccb",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 236.078,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.21586,
    "h": 271.1
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#323CCB
secondary
#CFCB89
accent
#D944E4
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #323CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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