#324CB2#324CB2

#324CB2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.165 H 268.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#324CB2
RGBrgb(50, 76, 178)
HSLhsl(228, 56%, 45%)
HSVhsv(228, 72%, 70%)
CMYKcmyk(71.9%, 57.3%, 0%, 30.2%)
CIE-LABlab(36.10, 25.80, -57.17)
CIE-LCHlch(36.10, 62.72, 294.29°)
OKLaboklab(45.89% -0.0049 -0.1648)
OKLCHoklch(45.89% 0.165 268.3)
XYZxyz(11.9329, 9.0601, 43.2307)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324CB2 #B29832
analogous
#328CB2 #324CB2 #5832B2
triadic
#324CB2 #B2324C #4CB232
tetradic
#324CB2 #B2328C #B29832 #32B258
square
#324CB2 #B2328C #B29832 #32B258
split-complementary
#324CB2 #B25832 #8CB232
monochromatic
#172352 #253882 #324CB2 #536CCF #8295DC

Accessibility & contrast

On white

7.47
#324CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#324CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324CB2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324CB2#FFFFFF#000000##FFFFFF
##324CB21.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #324cb2;
/* rgb */ color: rgb(50, 76, 178);
/* oklch */ color: oklch(45.9% 0.165 268.3);
Tailwind
colors: {
  custom: {
    50: '#7b7dca',
    500: '#324cb2',
    950: '#000000',
  },
}
SCSS
$custom: #324cb2;
$custom-light: #7b7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#324cb2",
  "rgb": {
    "r": 50,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 227.813,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.16486,
    "h": 268.3
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

primary
#324CB2
secondary
#C5B67B
accent
#C148DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #324CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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