#3952A6#3952A6

#3952A6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.138 H 268.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#3952A6
RGBrgb(57, 82, 166)
HSLhsl(226, 49%, 44%)
HSVhsv(226, 66%, 65%)
CMYKcmyk(65.7%, 50.6%, 0%, 34.9%)
CIE-LABlab(37.22, 18.52, -48.21)
CIE-LCHlch(37.22, 51.65, 291.01°)
OKLaboklab(46.55% -0.0044 -0.1382)
OKLCHoklch(46.55% 0.138 268.2)
XYZxyz(11.5852, 9.6566, 37.3224)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952A6 #A68D39
analogous
#3988A6 #3952A6 #5639A6
triadic
#3952A6 #A63952 #52A639
tetradic
#3952A6 #A63988 #A68D39 #39A656
square
#3952A6 #A63988 #A68D39 #39A656
split-complementary
#3952A6 #A65639 #88A639
monochromatic
#1A254B #293B78 #3952A6 #5770C5 #8497D5

Accessibility & contrast

On white

7.16
#3952A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3952A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3952A6
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952A6#FFFFFF#000000##FFFFFF
##3952A61.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DA9
Deuteranopia (green-blind)
#0253A4
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3952a6;
/* rgb */ color: rgb(57, 82, 166);
/* oklch */ color: oklch(46.6% 0.138 268.2);
Tailwind
colors: {
  custom: {
    50: '#7b82c1',
    500: '#3952a6',
    950: '#000000',
  },
}
SCSS
$custom: #3952a6;
$custom-light: #7b82c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3952a6",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 166
  },
  "hsl": {
    "h": 226.239,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46554,
    "c": 0.13827,
    "h": 268.2
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

primary
#3952A6
secondary
#BFAF7C
accent
#B94FD8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3952A6

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

Preview Lab → · Contrast checker → · Palette generator →

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