#325EC2#325EC2

#325EC2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.164 H 263.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#325EC2
RGBrgb(50, 94, 194)
HSLhsl(222, 59%, 48%)
HSVhsv(222, 74%, 76%)
CMYKcmyk(74.2%, 51.5%, 0%, 23.9%)
CIE-LABlab(42.12, 20.00, -56.79)
CIE-LCHlch(42.12, 60.21, 289.40°)
OKLaboklab(50.8% -0.018 -0.1634)
OKLCHoklch(50.8% 0.164 263.7)
XYZxyz(15.0522, 12.5769, 52.6628)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325EC2 #C29632
analogous
#32A6C2 #325EC2 #4E32C2
triadic
#325EC2 #C2325E #5EC232
tetradic
#325EC2 #C232A6 #C29632 #32C24E
square
#325EC2 #C232A6 #C29632 #32C24E
split-complementary
#325EC2 #C24E32 #A6C232
monochromatic
#192F61 #254691 #325EC2 #5C81D5 #8DA7E2

Accessibility & contrast

On white

5.97
#325EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#325EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325EC2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325EC2#FFFFFF#000000##FFFFFF
##325EC21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6AC6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #325ec2;
/* rgb */ color: rgb(50, 94, 194);
/* oklch */ color: oklch(50.8% 0.164 263.7);
Tailwind
colors: {
  custom: {
    50: '#7d8bd5',
    500: '#325ec2',
    950: '#000000',
  },
}
SCSS
$custom: #325ec2;
$custom-light: #7d8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#325ec2",
  "rgb": {
    "r": 50,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 221.667,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.16436,
    "h": 263.7
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#325EC2
secondary
#CCB684
accent
#B246E2
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #325EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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