#324EA5#324EA5

#324EA5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.144 H 267.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#324EA5
RGBrgb(50, 78, 165)
HSLhsl(225, 53%, 42%)
HSVhsv(225, 70%, 65%)
CMYKcmyk(69.7%, 52.7%, 0%, 35.3%)
CIE-LABlab(35.68, 19.64, -50.12)
CIE-LCHlch(35.68, 53.83, 291.40°)
OKLaboklab(45.27% -0.0075 -0.144)
OKLCHoklch(45.27% 0.144 267)
XYZxyz(10.8290, 8.8424, 36.7261)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324EA5 #A58932
analogous
#3288A5 #324EA5 #4F32A5
triadic
#324EA5 #A5324E #4EA532
tetradic
#324EA5 #A53288 #A58932 #32A54F
square
#324EA5 #A53288 #A58932 #32A54F
split-complementary
#324EA5 #A54F32 #88A532
monochromatic
#162247 #243876 #324EA5 #4C6AC9 #7B91D7

Accessibility & contrast

On white

7.58
#324EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#324EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324EA5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324EA5#FFFFFF#000000##FFFFFF
##324EA51.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #324ea5;
/* rgb */ color: rgb(50, 78, 165);
/* oklch */ color: oklch(45.3% 0.144 267.0);
Tailwind
colors: {
  custom: {
    50: '#787fc0',
    500: '#324ea5',
    950: '#000000',
  },
}
SCSS
$custom: #324ea5;
$custom-light: #787fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#324ea5",
  "rgb": {
    "r": 50,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 225.391,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.1442,
    "h": 267
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#324EA5
secondary
#BFAD73
accent
#B94BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #324EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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