#3952BA#3952BA

#3952BA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.166 H 269.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3952BA
RGBrgb(57, 82, 186)
HSLhsl(228, 53%, 48%)
HSVhsv(228, 69%, 73%)
CMYKcmyk(69.4%, 55.9%, 0%, 27.1%)
CIE-LABlab(38.64, 25.79, -57.75)
CIE-LCHlch(38.64, 63.25, 294.07°)
OKLaboklab(48.07% -0.0028 -0.1662)
OKLCHoklch(48.07% 0.166 269)
XYZxyz(13.5645, 10.4483, 47.7467)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952BA #BAA139
analogous
#3992BA #3952BA #6039BA
triadic
#3952BA #BA3952 #52BA39
tetradic
#3952BA #BA3992 #BAA139 #39BA60
square
#3952BA #BA3992 #BAA139 #39BA60
split-complementary
#3952BA #BA6039 #92BA39
monochromatic
#1C295C #2B3D8B #3952BA #6177CF #909FDD

Accessibility & contrast

On white

6.80
#3952BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3952BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952BA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952BA#FFFFFF#000000##FFFFFF
##3952BA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3952ba;
/* rgb */ color: rgb(57, 82, 186);
/* oklch */ color: oklch(48.1% 0.166 269.0);
Tailwind
colors: {
  custom: {
    50: '#7f82cf',
    500: '#3952ba',
    950: '#000000',
  },
}
SCSS
$custom: #3952ba;
$custom-light: #7f82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3952ba",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 228.372,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48074,
    "c": 0.16627,
    "h": 269
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#3952BA
secondary
#C8BB87
accent
#C04BDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3952BA

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

Preview Lab → · Contrast checker → · Palette generator →

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