#3952B3#3952B3

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

Color values

HEX#3952B3
RGBrgb(57, 82, 179)
HSLhsl(228, 52%, 46%)
HSVhsv(228, 68%, 70%)
CMYKcmyk(68.2%, 54.2%, 0%, 29.8%)
CIE-LABlab(38.12, 23.25, -54.46)
CIE-LCHlch(38.12, 59.21, 293.12°)
OKLaboklab(47.53% -0.0032 -0.1566)
OKLCHoklch(47.53% 0.157 268.8)
XYZxyz(12.8385, 10.1579, 43.9232)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952B3 #B39A39
analogous
#398FB3 #3952B3 #5D39B3
triadic
#3952B3 #B33952 #52B339
tetradic
#3952B3 #B3398F #B39A39 #39B35D
square
#3952B3 #B3398F #B39A39 #39B35D
split-complementary
#3952B3 #B35D39 #8FB339
monochromatic
#1B2756 #2A3D85 #3952B3 #5E74CC #8C9CDA

Accessibility & contrast

On white

6.93
#3952B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3952B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952B3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952B3#FFFFFF#000000##FFFFFF
##3952B31.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0960B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3952b3;
/* rgb */ color: rgb(57, 82, 179);
/* oklch */ color: oklch(47.5% 0.157 268.8);
Tailwind
colors: {
  custom: {
    50: '#7e82ca',
    500: '#3952b3',
    950: '#000000',
  },
}
SCSS
$custom: #3952b3;
$custom-light: #7e82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3952b3",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 227.705,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47528,
    "c": 0.15661,
    "h": 268.8
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3952B3

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

Preview Lab → · Contrast checker → · Palette generator →

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