#324EA2#324EA2

#324EA2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.140 H 266.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#324EA2
RGBrgb(50, 78, 162)
HSLhsl(225, 53%, 42%)
HSVhsv(225, 69%, 64%)
CMYKcmyk(69.1%, 51.9%, 0%, 36.5%)
CIE-LABlab(35.47, 18.52, -48.66)
CIE-LCHlch(35.47, 52.07, 290.83°)
OKLaboklab(45.04% -0.0078 -0.1397)
OKLCHoklch(45.04% 0.14 266.8)
XYZxyz(10.5591, 8.7345, 35.3049)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324EA2 #A28632
analogous
#3286A2 #324EA2 #4E32A2
triadic
#324EA2 #A2324E #4EA232
tetradic
#324EA2 #A23286 #A28632 #32A24E
square
#324EA2 #A23286 #A28632 #32A24E
split-complementary
#324EA2 #A24E32 #86A232
monochromatic
#152144 #243773 #324EA2 #4A69C7 #7990D6

Accessibility & contrast

On white

7.64
#324EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#324EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324EA2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324EA2#FFFFFF#000000##FFFFFF
##324EA21.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #324ea2;
/* rgb */ color: rgb(50, 78, 162);
/* oklch */ color: oklch(45.0% 0.140 266.8);
Tailwind
colors: {
  custom: {
    50: '#777fbe',
    500: '#324ea2',
    950: '#000000',
  },
}
SCSS
$custom: #324ea2;
$custom-light: #777fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#324ea2",
  "rgb": {
    "r": 50,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 225,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45039,
    "c": 0.13995,
    "h": 266.8
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#324EA2
secondary
#BEAB72
accent
#B84CDC
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #324EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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