#324CB1#324CB1

#324CB1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.163 H 268.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#324CB1
RGBrgb(50, 76, 177)
HSLhsl(228, 56%, 45%)
HSVhsv(228, 72%, 69%)
CMYKcmyk(71.8%, 57.1%, 0%, 30.6%)
CIE-LABlab(36.02, 25.43, -56.70)
CIE-LCHlch(36.02, 62.14, 294.15°)
OKLaboklab(45.81% -0.005 -0.1634)
OKLCHoklch(45.81% 0.163 268.3)
XYZxyz(11.8329, 9.0201, 42.7039)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324CB1 #B19732
analogous
#328BB1 #324CB1 #5832B1
triadic
#324CB1 #B1324C #4CB132
tetradic
#324CB1 #B1328B #B19732 #32B158
square
#324CB1 #B1328B #B19732 #32B158
split-complementary
#324CB1 #B15832 #8BB132
monochromatic
#172352 #253881 #324CB1 #526BCE #8294DC

Accessibility & contrast

On white

7.49
#324CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#324CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324CB1
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324CB1#FFFFFF#000000##FFFFFF
##324CB11.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #324cb1;
/* rgb */ color: rgb(50, 76, 177);
/* oklch */ color: oklch(45.8% 0.163 268.3);
Tailwind
colors: {
  custom: {
    50: '#7b7dc9',
    500: '#324cb1',
    950: '#000000',
  },
}
SCSS
$custom: #324cb1;
$custom-light: #7b7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#324cb1",
  "rgb": {
    "r": 50,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 227.717,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.16348,
    "h": 268.3
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#324CB1
secondary
#C5B67A
accent
#C049DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #324CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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