#325EB2#325EB2

#325EB2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.142 H 261.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#325EB2
RGBrgb(50, 94, 178)
HSLhsl(219, 56%, 45%)
HSVhsv(219, 72%, 70%)
CMYKcmyk(71.9%, 47.2%, 0%, 30.2%)
CIE-LABlab(41.05, 14.00, -49.17)
CIE-LCHlch(41.05, 51.12, 285.90°)
OKLaboklab(49.64% -0.0202 -0.1409)
OKLCHoklch(49.64% 0.142 261.8)
XYZxyz(13.3511, 11.8965, 43.7035)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325EB2 #B28632
analogous
#329EB2 #325EB2 #4632B2
triadic
#325EB2 #B2325E #5EB232
tetradic
#325EB2 #B2329E #B28632 #32B246
square
#325EB2 #B2329E #B28632 #32B246
split-complementary
#325EB2 #B24632 #9EB232
monochromatic
#172C52 #254582 #325EB2 #537DCF #82A1DC

Accessibility & contrast

On white

6.21
#325EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#325EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325EB2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325EB2#FFFFFF#000000##FFFFFF
##325EB21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#135BB0
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #325eb2;
/* rgb */ color: rgb(50, 94, 178);
/* oklch */ color: oklch(49.6% 0.142 261.8);
Tailwind
colors: {
  custom: {
    50: '#7a8bc9',
    500: '#325eb2',
    950: '#000000',
  },
}
SCSS
$custom: #325eb2;
$custom-light: #7a8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#325eb2",
  "rgb": {
    "r": 50,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 219.375,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49644,
    "c": 0.14239,
    "h": 261.8
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#325EB2
secondary
#C5AC7B
accent
#AC48DF
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #325EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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