#3952B9#3952B9

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

Color values

HEX#3952B9
RGBrgb(57, 82, 185)
HSLhsl(228, 53%, 47%)
HSVhsv(228, 69%, 73%)
CMYKcmyk(69.2%, 55.7%, 0%, 27.5%)
CIE-LABlab(38.56, 25.43, -57.28)
CIE-LCHlch(38.56, 62.67, 293.94°)
OKLaboklab(48% -0.0028 -0.1649)
OKLCHoklch(48% 0.165 269)
XYZxyz(13.4586, 10.4059, 47.1888)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952B9 #B9A039
analogous
#3992B9 #3952B9 #6039B9
triadic
#3952B9 #B93952 #52B939
tetradic
#3952B9 #B93992 #B9A039 #39B960
square
#3952B9 #B93992 #B9A039 #39B960
split-complementary
#3952B9 #B96039 #92B939
monochromatic
#1C295B #2B3D8A #3952B9 #6176CE #909FDD

Accessibility & contrast

On white

6.82
#3952B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3952B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952B9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952B9#FFFFFF#000000##FFFFFF
##3952B91.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3952b9;
/* rgb */ color: rgb(57, 82, 185);
/* oklch */ color: oklch(48.0% 0.165 269.0);
Tailwind
colors: {
  custom: {
    50: '#7f82cf',
    500: '#3952b9',
    950: '#000000',
  },
}
SCSS
$custom: #3952b9;
$custom-light: #7f82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3952b9",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 185
  },
  "hsl": {
    "h": 228.281,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47995,
    "c": 0.1649,
    "h": 269
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3952B9

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

Preview Lab → · Contrast checker → · Palette generator →

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