#324BB1#324BB1

#324BB1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.165 H 268.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#324BB1
RGBrgb(50, 75, 177)
HSLhsl(228, 56%, 45%)
HSVhsv(228, 72%, 69%)
CMYKcmyk(71.8%, 57.6%, 0%, 30.6%)
CIE-LABlab(35.76, 26.08, -57.13)
CIE-LCHlch(35.76, 62.80, 294.54°)
OKLaboklab(45.61% -0.0042 -0.1647)
OKLCHoklch(45.61% 0.165 268.6)
XYZxyz(11.7645, 8.8834, 42.6811)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324BB1 #B19832
analogous
#328BB1 #324BB1 #5932B1
triadic
#324BB1 #B1324B #4BB132
tetradic
#324BB1 #B1328B #B19832 #32B159
square
#324BB1 #B1328B #B19832 #32B159
split-complementary
#324BB1 #B15932 #8BB132
monochromatic
#172352 #253781 #324BB1 #526ACE #8293DC

Accessibility & contrast

On white

7.56
#324BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#324BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324BB1
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324BB1#FFFFFF#000000##FFFFFF
##324BB11.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #324bb1;
/* rgb */ color: rgb(50, 75, 177);
/* oklch */ color: oklch(45.6% 0.165 268.6);
Tailwind
colors: {
  custom: {
    50: '#7b7dc9',
    500: '#324bb1',
    950: '#000000',
  },
}
SCSS
$custom: #324bb1;
$custom-light: #7b7dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#324bb1",
  "rgb": {
    "r": 50,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 228.189,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45608,
    "c": 0.16474,
    "h": 268.6
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #324BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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