#325BB4#325BB4

#325BB4 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.149 H 263.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#325BB4
RGBrgb(50, 91, 180)
HSLhsl(221, 57%, 45%)
HSVhsv(221, 72%, 71%)
CMYKcmyk(72.2%, 49.4%, 0%, 29.4%)
CIE-LABlab(40.34, 16.70, -51.49)
CIE-LCHlch(40.34, 54.14, 287.97°)
OKLaboklab(49.14% -0.0172 -0.1478)
OKLCHoklch(49.14% 0.149 263.3)
XYZxyz(13.2918, 11.4542, 44.6815)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325BB4 #B48B32
analogous
#329CB4 #325BB4 #4A32B4
triadic
#325BB4 #B4325B #5BB432
tetradic
#325BB4 #B4329C #B48B32 #32B44A
square
#325BB4 #B4329C #B48B32 #32B44A
split-complementary
#325BB4 #B44A32 #9CB432
monochromatic
#172B54 #254384 #325BB4 #547BCF #84A0DD

Accessibility & contrast

On white

6.38
#325BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#325BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325BB4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325BB4#FFFFFF#000000##FFFFFF
##325BB41.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B7
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #325bb4;
/* rgb */ color: rgb(50, 91, 180);
/* oklch */ color: oklch(49.1% 0.149 263.3);
Tailwind
colors: {
  custom: {
    50: '#7b88cb',
    500: '#325bb4',
    950: '#000000',
  },
}
SCSS
$custom: #325bb4;
$custom-light: #7b88cb;
$custom-dark: #000000;
JSON
{
  "hex": "#325bb4",
  "rgb": {
    "r": 50,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 221.077,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.14885,
    "h": 263.3
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#325BB4
secondary
#C6AF7C
accent
#B048E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #325BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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