#3252BD#3252BD

#3252BD is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.172 H 267.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3252BD
RGBrgb(50, 82, 189)
HSLhsl(226, 58%, 47%)
HSVhsv(226, 74%, 74%)
CMYKcmyk(73.5%, 56.6%, 0%, 25.9%)
CIE-LABlab(38.53, 25.95, -59.70)
CIE-LCHlch(38.53, 65.09, 293.49°)
OKLaboklab(47.97% -0.0091 -0.1721)
OKLCHoklch(47.97% 0.172 267)
XYZxyz(13.5148, 10.3854, 49.4266)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3252BD #BD9D32
analogous
#3298BD #3252BD #5832BD
triadic
#3252BD #BD3252 #52BD32
tetradic
#3252BD #BD3298 #BD9D32 #32BD58
square
#3252BD #BD3298 #BD9D32 #32BD58
split-complementary
#3252BD #BD5832 #98BD32
monochromatic
#18285C #253D8D #3252BD #5975D3 #899DE0

Accessibility & contrast

On white

6.82
#3252BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3252BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3252BD
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3252BD#FFFFFF#000000##FFFFFF
##3252BD1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3252bd;
/* rgb */ color: rgb(50, 82, 189);
/* oklch */ color: oklch(48.0% 0.172 267.0);
Tailwind
colors: {
  custom: {
    50: '#7d82d2',
    500: '#3252bd',
    950: '#000000',
  },
}
SCSS
$custom: #3252bd;
$custom-light: #7d82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3252bd",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 226.187,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47971,
    "c": 0.17237,
    "h": 267
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#3252BD
secondary
#CAB981
accent
#BE46E1
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3252BD

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

Preview Lab → · Contrast checker → · Palette generator →

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