#325EC1#325EC1

#325EC1 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.163 H 263.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#325EC1
RGBrgb(50, 94, 193)
HSLhsl(222, 59%, 48%)
HSVhsv(222, 74%, 76%)
CMYKcmyk(74.1%, 51.3%, 0%, 24.3%)
CIE-LABlab(42.05, 19.63, -56.32)
CIE-LCHlch(42.05, 59.64, 289.21°)
OKLaboklab(50.73% -0.0182 -0.162)
OKLCHoklch(50.73% 0.163 263.6)
XYZxyz(14.9403, 12.5321, 52.0733)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#325EC1 #C19532
analogous
#32A6C1 #325EC1 #4D32C1
triadic
#325EC1 #C1325E #5EC132
tetradic
#325EC1 #C132A6 #C19532 #32C14D
square
#325EC1 #C132A6 #C19532 #32C14D
split-complementary
#325EC1 #C14D32 #A6C132
monochromatic
#192F60 #254690 #325EC1 #5C81D5 #8CA6E1

Accessibility & contrast

On white

5.99
#325EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#325EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #325EC1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##325EC1#FFFFFF#000000##FFFFFF
##325EC11.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6AC5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #325ec1;
/* rgb */ color: rgb(50, 94, 193);
/* oklch */ color: oklch(50.7% 0.163 263.6);
Tailwind
colors: {
  custom: {
    50: '#7d8bd4',
    500: '#325ec1',
    950: '#000000',
  },
}
SCSS
$custom: #325ec1;
$custom-light: #7d8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#325ec1",
  "rgb": {
    "r": 50,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 221.538,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50727,
    "c": 0.163,
    "h": 263.6
  },
  "luminance": 0.12534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #325EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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