#325EA2#325EA2

#325EA2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.6% C 0.120 H 258.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#325EA2
RGBrgb(50, 94, 162)
HSLhsl(216, 53%, 42%)
HSVhsv(216, 69%, 64%)
CMYKcmyk(69.1%, 42%, 0%, 36.5%)
CIE-LABlab(40.07, 8.03, -41.29)
CIE-LCHlch(40.07, 42.06, 281.01°)
OKLaboklab(48.57% -0.0232 -0.1178)
OKLCHoklch(48.57% 0.12 258.9)
XYZxyz(11.8373, 11.2909, 35.7309)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325EA2 #A27632
analogous
#3296A2 #325EA2 #3E32A2
triadic
#325EA2 #A2325E #5EA232
tetradic
#325EA2 #A23296 #A27632 #32A23E
square
#325EA2 #A23296 #A27632 #32A23E
split-complementary
#325EA2 #A23E32 #96A232
monochromatic
#152844 #244373 #325EA2 #4A7BC7 #799DD6

Accessibility & contrast

On white

6.44
#325EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#325EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325EA2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325EA2#FFFFFF#000000##FFFFFF
##325EA21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#2C5AA1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #325ea2;
/* rgb */ color: rgb(50, 94, 162);
/* oklch */ color: oklch(48.6% 0.120 258.9);
Tailwind
colors: {
  custom: {
    50: '#778bbe',
    500: '#325ea2',
    950: '#000000',
  },
}
SCSS
$custom: #325ea2;
$custom-light: #778bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#325ea2",
  "rgb": {
    "r": 50,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 216.429,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48567,
    "c": 0.12004,
    "h": 258.9
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#325EA2
secondary
#BEA072
accent
#A34CDC
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #325EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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