#325EA5#325EA5

#325EA5 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.8% C 0.124 H 259.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#325EA5
RGBrgb(50, 94, 165)
HSLhsl(217, 53%, 42%)
HSVhsv(217, 70%, 65%)
CMYKcmyk(69.7%, 43%, 0%, 35.3%)
CIE-LABlab(40.24, 9.14, -42.78)
CIE-LCHlch(40.24, 43.75, 282.07°)
OKLaboklab(48.76% -0.0226 -0.1222)
OKLCHoklch(48.76% 0.124 259.5)
XYZxyz(12.1072, 11.3989, 37.1522)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325EA5 #A57932
analogous
#3298A5 #325EA5 #3F32A5
triadic
#325EA5 #A5325E #5EA532
tetradic
#325EA5 #A53298 #A57932 #32A53F
square
#325EA5 #A53298 #A57932 #32A53F
split-complementary
#325EA5 #A53F32 #98A532
monochromatic
#162847 #244376 #325EA5 #4C7BC9 #7B9ED7

Accessibility & contrast

On white

6.40
#325EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#325EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325EA5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325EA5#FFFFFF#000000##FFFFFF
##325EA51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A8
Deuteranopia (green-blind)
#295AA4
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #325ea5;
/* rgb */ color: rgb(50, 94, 165);
/* oklch */ color: oklch(48.8% 0.124 259.5);
Tailwind
colors: {
  custom: {
    50: '#778bc0',
    500: '#325ea5',
    950: '#000000',
  },
}
SCSS
$custom: #325ea5;
$custom-light: #778bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#325ea5",
  "rgb": {
    "r": 50,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 217.043,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.12425,
    "h": 259.5
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#325EA5
secondary
#BFA273
accent
#A54BDD
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #325EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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