#325BB2#325BB2

#325BB2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.146 H 263.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#325BB2
RGBrgb(50, 91, 178)
HSLhsl(221, 56%, 45%)
HSVhsv(221, 72%, 70%)
CMYKcmyk(71.9%, 48.9%, 0%, 30.2%)
CIE-LABlab(40.20, 15.95, -50.53)
CIE-LCHlch(40.20, 52.99, 287.52°)
OKLaboklab(48.99% -0.0175 -0.145)
OKLCHoklch(48.99% 0.146 263.1)
XYZxyz(13.0895, 11.3733, 43.6163)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325BB2 #B28932
analogous
#329BB2 #325BB2 #4932B2
triadic
#325BB2 #B2325B #5BB232
tetradic
#325BB2 #B2329B #B28932 #32B249
square
#325BB2 #B2329B #B28932 #32B249
split-complementary
#325BB2 #B24932 #9BB232
monochromatic
#172A52 #254382 #325BB2 #537ACF #829FDC

Accessibility & contrast

On white

6.41
#325BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#325BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325BB2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325BB2#FFFFFF#000000##FFFFFF
##325BB21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#0159B0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #325bb2;
/* rgb */ color: rgb(50, 91, 178);
/* oklch */ color: oklch(49.0% 0.146 263.1);
Tailwind
colors: {
  custom: {
    50: '#7a88ca',
    500: '#325bb2',
    950: '#000000',
  },
}
SCSS
$custom: #325bb2;
$custom-light: #7a88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#325bb2",
  "rgb": {
    "r": 50,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 220.781,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48994,
    "c": 0.14607,
    "h": 263.1
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#325BB2
secondary
#C5AD7B
accent
#AF48DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #325BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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