#3252A2#3252A2

#3252A2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.135 H 265.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#3252A2
RGBrgb(50, 82, 162)
HSLhsl(223, 53%, 42%)
HSVhsv(223, 69%, 64%)
CMYKcmyk(69.1%, 49.4%, 0%, 36.5%)
CIE-LABlab(36.59, 15.87, -46.85)
CIE-LCHlch(36.59, 49.46, 288.71°)
OKLaboklab(45.9% -0.0115 -0.1343)
OKLCHoklch(45.9% 0.135 265.1)
XYZxyz(10.8520, 9.3203, 35.4025)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3252A2 #A28232
analogous
#328AA2 #3252A2 #4A32A2
triadic
#3252A2 #A23252 #52A232
tetradic
#3252A2 #A2328A #A28232 #32A24A
square
#3252A2 #A2328A #A28232 #32A24A
split-complementary
#3252A2 #A24A32 #8AA232
monochromatic
#152344 #243A73 #3252A2 #4A6EC7 #7993D6

Accessibility & contrast

On white

7.33
#3252A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3252A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3252A2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3252A2#FFFFFF#000000##FFFFFF
##3252A21.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA5
Deuteranopia (green-blind)
#0651A0
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3252a2;
/* rgb */ color: rgb(50, 82, 162);
/* oklch */ color: oklch(45.9% 0.135 265.1);
Tailwind
colors: {
  custom: {
    50: '#7782be',
    500: '#3252a2',
    950: '#000000',
  },
}
SCSS
$custom: #3252a2;
$custom-light: #7782be;
$custom-dark: #000000;
JSON
{
  "hex": "#3252a2",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 222.857,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45896,
    "c": 0.13482,
    "h": 265.1
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#3252A2
secondary
#BEA872
accent
#B34CDC
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3252A2

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

Preview Lab → · Contrast checker → · Palette generator →

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