#3952BF#3952BF

#3952BF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.173 H 269.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3952BF
RGBrgb(57, 82, 191)
HSLhsl(229, 54%, 49%)
HSVhsv(229, 70%, 75%)
CMYKcmyk(70.2%, 57.1%, 0%, 25.1%)
CIE-LABlab(39.01, 27.61, -60.07)
CIE-LCHlch(39.01, 66.11, 294.69°)
OKLaboklab(48.47% -0.0026 -0.1731)
OKLCHoklch(48.47% 0.173 269.1)
XYZxyz(14.1054, 10.6646, 50.5952)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952BF #BFA639
analogous
#3995BF #3952BF #6339BF
triadic
#3952BF #BF3952 #52BF39
tetradic
#3952BF #BF3995 #BFA639 #39BF63
square
#3952BF #BF3995 #BFA639 #39BF63
split-complementary
#3952BF #BF6339 #95BF39
monochromatic
#1D2A61 #2B3E90 #3952BF #6479D1 #93A2DF

Accessibility & contrast

On white

6.70
#3952BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3952BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952BF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952BF#FFFFFF#000000##FFFFFF
##3952BF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3952bf;
/* rgb */ color: rgb(57, 82, 191);
/* oklch */ color: oklch(48.5% 0.173 269.1);
Tailwind
colors: {
  custom: {
    50: '#8082d3',
    500: '#3952bf',
    950: '#000000',
  },
}
SCSS
$custom: #3952bf;
$custom-light: #8082d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3952bf",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 228.806,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48472,
    "c": 0.17309,
    "h": 269.1
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#3952BF
secondary
#CABE8A
accent
#C24ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3952BF

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

Preview Lab → · Contrast checker → · Palette generator →

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