#325AB2#325AB2

#325AB2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.147 H 263.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#325AB2
RGBrgb(50, 90, 178)
HSLhsl(221, 56%, 45%)
HSVhsv(221, 72%, 70%)
CMYKcmyk(71.9%, 49.4%, 0%, 30.2%)
CIE-LABlab(39.92, 16.61, -50.99)
CIE-LCHlch(39.92, 53.62, 288.04°)
OKLaboklab(48.78% -0.0166 -0.1464)
OKLCHoklch(48.78% 0.147 263.5)
XYZxyz(13.0046, 11.2034, 43.5880)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325AB2 #B28A32
analogous
#329AB2 #325AB2 #4A32B2
triadic
#325AB2 #B2325A #5AB232
tetradic
#325AB2 #B2329A #B28A32 #32B24A
square
#325AB2 #B2329A #B28A32 #32B24A
split-complementary
#325AB2 #B24A32 #9AB232
monochromatic
#172A52 #254282 #325AB2 #5379CF #829EDC

Accessibility & contrast

On white

6.48
#325AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#325AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325AB2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325AB2#FFFFFF#000000##FFFFFF
##325AB21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #325ab2;
/* rgb */ color: rgb(50, 90, 178);
/* oklch */ color: oklch(48.8% 0.147 263.5);
Tailwind
colors: {
  custom: {
    50: '#7a88ca',
    500: '#325ab2',
    950: '#000000',
  },
}
SCSS
$custom: #325ab2;
$custom-light: #7a88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#325ab2",
  "rgb": {
    "r": 50,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 221.25,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48779,
    "c": 0.14731,
    "h": 263.5
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#325AB2
secondary
#C5AE7B
accent
#B048DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #325AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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