#325FC4#325FC4

#325FC4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.166 H 263.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#325FC4
RGBrgb(50, 95, 196)
HSLhsl(222, 59%, 48%)
HSVhsv(222, 74%, 77%)
CMYKcmyk(74.5%, 51.5%, 0%, 23.1%)
CIE-LABlab(42.53, 20.10, -57.28)
CIE-LCHlch(42.53, 60.71, 289.34°)
OKLaboklab(51.16% -0.0186 -0.1648)
OKLCHoklch(51.16% 0.166 263.6)
XYZxyz(15.3679, 12.8464, 53.8835)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325FC4 #C49732
analogous
#32A8C4 #325FC4 #4E32C4
triadic
#325FC4 #C4325F #5FC432
tetradic
#325FC4 #C432A8 #C49732 #32C44E
square
#325FC4 #C432A8 #C49732 #32C44E
split-complementary
#325FC4 #C44E32 #A8C432
monochromatic
#193062 #264793 #325FC4 #5D83D6 #8EA8E2

Accessibility & contrast

On white

5.88
#325FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#325FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325FC4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325FC4#FFFFFF#000000##FFFFFF
##325FC41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6BC8
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #325fc4;
/* rgb */ color: rgb(50, 95, 196);
/* oklch */ color: oklch(51.2% 0.166 263.6);
Tailwind
colors: {
  custom: {
    50: '#7e8bd7',
    500: '#325fc4',
    950: '#000000',
  },
}
SCSS
$custom: #325fc4;
$custom-light: #7e8bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#325fc4",
  "rgb": {
    "r": 50,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 221.507,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.16586,
    "h": 263.6
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#325FC4
secondary
#CDB785
accent
#B245E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #325FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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