#3252C2#3252C2

#3252C2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.179 H 267.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3252C2
RGBrgb(50, 82, 194)
HSLhsl(227, 59%, 48%)
HSVhsv(227, 74%, 76%)
CMYKcmyk(74.2%, 57.7%, 0%, 23.9%)
CIE-LABlab(38.91, 27.80, -61.99)
CIE-LCHlch(38.91, 67.94, 294.15°)
OKLaboklab(48.38% -0.0089 -0.1789)
OKLCHoklch(48.38% 0.179 267.2)
XYZxyz(14.0669, 10.6062, 52.3343)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3252C2 #C2A232
analogous
#329AC2 #3252C2 #5A32C2
triadic
#3252C2 #C23252 #52C232
tetradic
#3252C2 #C2329A #C2A232 #32C25A
square
#3252C2 #C2329A #C2A232 #32C25A
split-complementary
#3252C2 #C25A32 #9AC232
monochromatic
#192961 #253D91 #3252C2 #5C77D5 #8DA0E2

Accessibility & contrast

On white

6.73
#3252C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3252C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3252C2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3252C2#FFFFFF#000000##FFFFFF
##3252C21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3252c2;
/* rgb */ color: rgb(50, 82, 194);
/* oklch */ color: oklch(48.4% 0.179 267.2);
Tailwind
colors: {
  custom: {
    50: '#7e82d5',
    500: '#3252c2',
    950: '#000000',
  },
}
SCSS
$custom: #3252c2;
$custom-light: #7e82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3252c2",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 226.667,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48379,
    "c": 0.1791,
    "h": 267.2
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#3252C2
secondary
#CCBC84
accent
#BF46E2
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3252C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3252C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva