#323DCB#323DCB

#323DCB is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.5% C 0.215 H 270.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#323DCB
RGBrgb(50, 61, 203)
HSLhsl(236, 60%, 50%)
HSVhsv(236, 75%, 80%)
CMYKcmyk(75.4%, 70%, 0%, 20.4%)
CIE-LABlab(34.65, 44.21, -74.20)
CIE-LCHlch(34.65, 86.38, 300.79°)
OKLaboklab(45.49% 0.0036 -0.2148)
OKLCHoklch(45.49% 0.215 270.9)
XYZxyz(13.7600, 8.3259, 57.3702)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DCB #CBC032
analogous
#328ACB #323DCB #7332CB
triadic
#323DCB #CB323D #3DCB32
tetradic
#323DCB #CB328A #CBC032 #32CB73
square
#323DCB #CB328A #CBC032 #32CB73
split-complementary
#323DCB #CB7332 #8ACB32
monochromatic
#1A1F69 #262E9A #323DCB #626AD8 #9399E4

Accessibility & contrast

On white

7.88
#323DCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#323DCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DCB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DCB#FFFFFF#000000##FFFFFF
##323DCB1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323dcb;
/* rgb */ color: rgb(50, 61, 203);
/* oklch */ color: oklch(45.5% 0.215 270.9);
Tailwind
colors: {
  custom: {
    50: '#8273dc',
    500: '#323dcb',
    950: '#000000',
  },
}
SCSS
$custom: #323dcb;
$custom-light: #8273dc;
$custom-dark: #000000;
JSON
{
  "hex": "#323dcb",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 235.686,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4549,
    "c": 0.21482,
    "h": 270.9
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#323DCB
secondary
#CFCA89
accent
#D844E4
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #323DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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