#3952BE#3952BE

#3952BE is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.172 H 269.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3952BE
RGBrgb(57, 82, 190)
HSLhsl(229, 54%, 48%)
HSVhsv(229, 70%, 75%)
CMYKcmyk(70%, 56.8%, 0%, 25.5%)
CIE-LABlab(38.93, 27.25, -59.60)
CIE-LCHlch(38.93, 65.54, 294.57°)
OKLaboklab(48.39% -0.0026 -0.1717)
OKLCHoklch(48.39% 0.172 269.1)
XYZxyz(13.9957, 10.6208, 50.0176)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952BE #BEA539
analogous
#3994BE #3952BE #6239BE
triadic
#3952BE #BE3952 #52BE39
tetradic
#3952BE #BE3994 #BEA539 #39BE62
square
#3952BE #BE3994 #BEA539 #39BE62
split-complementary
#3952BE #BE6239 #94BE39
monochromatic
#1D2960 #2B3E8F #3952BE #6478D0 #93A1DF

Accessibility & contrast

On white

6.72
#3952BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3952BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952BE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952BE#FFFFFF#000000##FFFFFF
##3952BE1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3952be;
/* rgb */ color: rgb(57, 82, 190);
/* oklch */ color: oklch(48.4% 0.172 269.1);
Tailwind
colors: {
  custom: {
    50: '#8082d2',
    500: '#3952be',
    950: '#000000',
  },
}
SCSS
$custom: #3952be;
$custom-light: #8082d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3952be",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 228.722,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48392,
    "c": 0.17173,
    "h": 269.1
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#3952BE
secondary
#CABE89
accent
#C24BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3952BE

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

Preview Lab → · Contrast checker → · Palette generator →

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