#3952B1#3952B1

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

Color values

HEX#3952B1
RGBrgb(57, 82, 177)
HSLhsl(228, 51%, 46%)
HSVhsv(228, 68%, 69%)
CMYKcmyk(67.8%, 53.7%, 0%, 30.6%)
CIE-LABlab(37.98, 22.52, -53.51)
CIE-LCHlch(37.98, 58.06, 292.83°)
OKLaboklab(47.38% -0.0033 -0.1538)
OKLCHoklch(47.38% 0.154 268.8)
XYZxyz(12.6377, 10.0776, 42.8656)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952B1 #B19839
analogous
#398EB1 #3952B1 #5C39B1
triadic
#3952B1 #B13952 #52B139
tetradic
#3952B1 #B1398E #B19839 #39B15C
square
#3952B1 #B1398E #B19839 #39B15C
split-complementary
#3952B1 #B15C39 #8EB139
monochromatic
#1B2754 #2A3D83 #3952B1 #5D73CB #8B9BDA

Accessibility & contrast

On white

6.96
#3952B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3952B1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952B1#FFFFFF#000000##FFFFFF
##3952B11.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5FB4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3952b1;
/* rgb */ color: rgb(57, 82, 177);
/* oklch */ color: oklch(47.4% 0.154 268.8);
Tailwind
colors: {
  custom: {
    50: '#7d82c9',
    500: '#3952b1',
    950: '#000000',
  },
}
SCSS
$custom: #3952b1;
$custom-light: #7d82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3952b1",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 227.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47375,
    "c": 0.15383,
    "h": 268.8
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#3952B1
secondary
#C4B682
accent
#BD4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3952B1

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

Preview Lab → · Contrast checker → · Palette generator →

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