#325CB2#325CB2

#325CB2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.2% C 0.145 H 262.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#325CB2
RGBrgb(50, 92, 178)
HSLhsl(220, 56%, 45%)
HSVhsv(220, 72%, 70%)
CMYKcmyk(71.9%, 48.3%, 0%, 30.2%)
CIE-LABlab(40.48, 15.30, -50.08)
CIE-LCHlch(40.48, 52.36, 286.99°)
OKLaboklab(49.21% -0.0184 -0.1437)
OKLCHoklch(49.21% 0.145 262.7)
XYZxyz(13.1756, 11.5454, 43.6449)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325CB2 #B28832
analogous
#329CB2 #325CB2 #4832B2
triadic
#325CB2 #B2325C #5CB232
tetradic
#325CB2 #B2329C #B28832 #32B248
square
#325CB2 #B2329C #B28832 #32B248
split-complementary
#325CB2 #B24832 #9CB232
monochromatic
#172B52 #254382 #325CB2 #537BCF #82A0DC

Accessibility & contrast

On white

6.35
#325CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#325CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325CB2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325CB2#FFFFFF#000000##FFFFFF
##325CB21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#085AB0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #325cb2;
/* rgb */ color: rgb(50, 92, 178);
/* oklch */ color: oklch(49.2% 0.145 262.7);
Tailwind
colors: {
  custom: {
    50: '#7a89ca',
    500: '#325cb2',
    950: '#000000',
  },
}
SCSS
$custom: #325cb2;
$custom-light: #7a89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#325cb2",
  "rgb": {
    "r": 50,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 220.313,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49209,
    "c": 0.14483,
    "h": 262.7
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#325CB2
secondary
#C5AD7B
accent
#AE48DF
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #325CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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