#3252C6#3252C6

#3252C6 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.184 H 267.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3252C6
RGBrgb(50, 82, 198)
HSLhsl(227, 60%, 49%)
HSVhsv(227, 75%, 78%)
CMYKcmyk(74.7%, 58.6%, 0%, 22.4%)
CIE-LABlab(39.22, 29.28, -63.81)
CIE-LCHlch(39.22, 70.21, 294.65°)
OKLaboklab(48.71% -0.0088 -0.1842)
OKLCHoklch(48.71% 0.184 267.3)
XYZxyz(14.5222, 10.7883, 54.7321)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3252C6 #C6A632
analogous
#329CC6 #3252C6 #5C32C6
triadic
#3252C6 #C63252 #52C632
tetradic
#3252C6 #C6329C #C6A632 #32C65C
square
#3252C6 #C6329C #C6A632 #32C65C
split-complementary
#3252C6 #C65C32 #9CC632
monochromatic
#192A64 #263E95 #3252C6 #5F79D7 #90A2E3

Accessibility & contrast

On white

6.65
#3252C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3252C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3252C6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3252C6#FFFFFF#000000##FFFFFF
##3252C61.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3252c6;
/* rgb */ color: rgb(50, 82, 198);
/* oklch */ color: oklch(48.7% 0.184 267.3);
Tailwind
colors: {
  custom: {
    50: '#7f82d8',
    500: '#3252c6',
    950: '#000000',
  },
}
SCSS
$custom: #3252c6;
$custom-light: #7f82d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3252c6",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 198
  },
  "hsl": {
    "h": 227.027,
    "s": 59.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.18443,
    "h": 267.3
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#3252C6
secondary
#CDBE86
accent
#C145E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3252C6

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

Preview Lab → · Contrast checker → · Palette generator →

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