#3252B7#3252B7

#3252B7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.164 H 266.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3252B7
RGBrgb(50, 82, 183)
HSLhsl(226, 57%, 46%)
HSVhsv(226, 73%, 72%)
CMYKcmyk(72.7%, 55.2%, 0%, 28.2%)
CIE-LABlab(38.08, 23.72, -56.91)
CIE-LCHlch(38.08, 61.66, 292.62°)
OKLaboklab(47.49% -0.0094 -0.1639)
OKLCHoklch(47.49% 0.164 266.7)
XYZxyz(12.8769, 10.1302, 46.0673)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3252B7 #B79732
analogous
#3294B7 #3252B7 #5432B7
triadic
#3252B7 #B73252 #52B732
tetradic
#3252B7 #B73294 #B79732 #32B754
square
#3252B7 #B73294 #B79732 #32B754
split-complementary
#3252B7 #B75432 #94B732
monochromatic
#182757 #253C87 #3252B7 #5673D1 #869BDE

Accessibility & contrast

On white

6.94
#3252B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3252B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3252B7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3252B7#FFFFFF#000000##FFFFFF
##3252B71.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3252b7;
/* rgb */ color: rgb(50, 82, 183);
/* oklch */ color: oklch(47.5% 0.164 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c82cd',
    500: '#3252b7',
    950: '#000000',
  },
}
SCSS
$custom: #3252b7;
$custom-light: #7c82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3252b7",
  "rgb": {
    "r": 50,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 225.564,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4749,
    "c": 0.16421,
    "h": 266.7
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#3252B7
secondary
#C7B67D
accent
#BC47E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3252B7

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

Preview Lab → · Contrast checker → · Palette generator →

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