#323CB1#323CB1

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

Color values

HEX#323CB1
RGBrgb(50, 60, 177)
HSLhsl(235, 56%, 45%)
HSVhsv(235, 72%, 69%)
CMYKcmyk(71.8%, 66.1%, 0%, 30.6%)
CIE-LABlab(32.00, 35.78, -63.28)
CIE-LCHlch(32.00, 72.69, 299.49°)
OKLaboklab(42.83% 0.0068 -0.1829)
OKLCHoklch(42.83% 0.183 272.1)
XYZxyz(10.8644, 7.0831, 42.3811)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CB1 #B1A732
analogous
#327BB1 #323CB1 #6832B1
triadic
#323CB1 #B1323C #3CB132
tetradic
#323CB1 #B1327B #B1A732 #32B168
square
#323CB1 #B1327B #B1A732 #32B168
split-complementary
#323CB1 #B16832 #7BB132
monochromatic
#171C52 #252C81 #323CB1 #525CCE #8289DC

Accessibility & contrast

On white

8.69
#323CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323CB1
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CB1#FFFFFF#000000##FFFFFF
##323CB11.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323cb1;
/* rgb */ color: rgb(50, 60, 177);
/* oklch */ color: oklch(42.8% 0.183 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c72c9',
    500: '#323cb1',
    950: '#000000',
  },
}
SCSS
$custom: #323cb1;
$custom-light: #7c72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#323cb1",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 235.276,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42826,
    "c": 0.18299,
    "h": 272.1
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#323CB1
secondary
#C5BF7A
accent
#D349DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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