#325FB2#325FB2

#325FB2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.141 H 261.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#325FB2
RGBrgb(50, 95, 178)
HSLhsl(219, 56%, 45%)
HSVhsv(219, 72%, 70%)
CMYKcmyk(71.9%, 46.6%, 0%, 30.2%)
CIE-LABlab(41.34, 13.36, -48.71)
CIE-LCHlch(41.34, 50.51, 285.33°)
OKLaboklab(49.86% -0.0211 -0.1396)
OKLCHoklch(49.86% 0.141 261.4)
XYZxyz(13.4406, 12.0755, 43.7333)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325FB2 #B28532
analogous
#329FB2 #325FB2 #4532B2
triadic
#325FB2 #B2325F #5FB232
tetradic
#325FB2 #B2329F #B28532 #32B245
square
#325FB2 #B2329F #B28532 #32B245
split-complementary
#325FB2 #B24532 #9FB232
monochromatic
#172C52 #254682 #325FB2 #537ECF #82A2DC

Accessibility & contrast

On white

6.15
#325FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#325FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325FB2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325FB2#FFFFFF#000000##FFFFFF
##325FB21.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#175CB0
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #325fb2;
/* rgb */ color: rgb(50, 95, 178);
/* oklch */ color: oklch(49.9% 0.141 261.4);
Tailwind
colors: {
  custom: {
    50: '#7a8bc9',
    500: '#325fb2',
    950: '#000000',
  },
}
SCSS
$custom: #325fb2;
$custom-light: #7a8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#325fb2",
  "rgb": {
    "r": 50,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 218.906,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49863,
    "c": 0.14116,
    "h": 261.4
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#325FB2
secondary
#C5AB7B
accent
#AA48DF
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #325FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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