#3952B2#3952B2

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

Color values

HEX#3952B2
RGBrgb(57, 82, 178)
HSLhsl(228, 51%, 46%)
HSVhsv(228, 68%, 70%)
CMYKcmyk(68%, 53.9%, 0%, 30.2%)
CIE-LABlab(38.05, 22.89, -53.99)
CIE-LCHlch(38.05, 58.64, 292.97°)
OKLaboklab(47.45% -0.0033 -0.1552)
OKLCHoklch(47.45% 0.155 268.8)
XYZxyz(12.7378, 10.1176, 43.3925)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952B2 #B29939
analogous
#398EB2 #3952B2 #5C39B2
triadic
#3952B2 #B23952 #52B239
tetradic
#3952B2 #B2398E #B29939 #39B25C
square
#3952B2 #B2398E #B29939 #39B25C
split-complementary
#3952B2 #B25C39 #8EB239
monochromatic
#1B2755 #2A3D84 #3952B2 #5D74CB #8B9CDA

Accessibility & contrast

On white

6.94
#3952B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3952B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952B2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952B2#FFFFFF#000000##FFFFFF
##3952B21.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5FB5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3952b2;
/* rgb */ color: rgb(57, 82, 178);
/* oklch */ color: oklch(47.5% 0.155 268.8);
Tailwind
colors: {
  custom: {
    50: '#7e82ca',
    500: '#3952b2',
    950: '#000000',
  },
}
SCSS
$custom: #3952b2;
$custom-light: #7e82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3952b2",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 227.603,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47451,
    "c": 0.15521,
    "h": 268.8
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#3952B2
secondary
#C4B782
accent
#BE4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3952B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3952B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva