#324DB4#324DB4

#324DB4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.166 H 268.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#324DB4
RGBrgb(50, 77, 180)
HSLhsl(228, 57%, 45%)
HSVhsv(228, 72%, 71%)
CMYKcmyk(72.2%, 57.2%, 0%, 29.4%)
CIE-LABlab(36.52, 25.88, -57.67)
CIE-LCHlch(36.52, 63.21, 294.17°)
OKLaboklab(46.25% -0.0056 -0.1662)
OKLCHoklch(46.25% 0.166 268.1)
XYZxyz(12.2046, 9.2799, 44.3192)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324DB4 #B49932
analogous
#328EB4 #324DB4 #5832B4
triadic
#324DB4 #B4324D #4DB432
tetradic
#324DB4 #B4328E #B49932 #32B458
square
#324DB4 #B4328E #B49932 #32B458
split-complementary
#324DB4 #B45832 #8EB432
monochromatic
#172454 #253984 #324DB4 #546DCF #8496DD

Accessibility & contrast

On white

7.35
#324DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#324DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324DB4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324DB4#FFFFFF#000000##FFFFFF
##324DB41.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #324db4;
/* rgb */ color: rgb(50, 77, 180);
/* oklch */ color: oklch(46.2% 0.166 268.1);
Tailwind
colors: {
  custom: {
    50: '#7b7ecb',
    500: '#324db4',
    950: '#000000',
  },
}
SCSS
$custom: #324db4;
$custom-light: #7b7ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#324db4",
  "rgb": {
    "r": 50,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 227.538,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46249,
    "c": 0.16634,
    "h": 268.1
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#324DB4
secondary
#C6B77C
accent
#C048E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #324DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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