#3952AC#3952AC

#3952AC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.147 H 268.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#3952AC
RGBrgb(57, 82, 172)
HSLhsl(227, 50%, 45%)
HSVhsv(227, 67%, 67%)
CMYKcmyk(66.9%, 52.3%, 0%, 32.5%)
CIE-LABlab(37.63, 20.70, -51.12)
CIE-LCHlch(37.63, 55.15, 292.05°)
OKLaboklab(47% -0.0038 -0.1467)
OKLCHoklch(47% 0.147 268.5)
XYZxyz(12.1485, 9.8819, 40.2889)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952AC #AC9339
analogous
#398BAC #3952AC #5A39AC
triadic
#3952AC #AC3952 #52AC39
tetradic
#3952AC #AC398B #AC9339 #39AC5A
square
#3952AC #AC398B #AC9339 #39AC5A
split-complementary
#3952AC #AC5A39 #8BAC39
monochromatic
#1B2650 #2A3C7E #3952AC #5A72C8 #8899D8

Accessibility & contrast

On white

7.06
#3952AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3952AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3952AC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952AC#FFFFFF#000000##FFFFFF
##3952AC1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5EAF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3952ac;
/* rgb */ color: rgb(57, 82, 172);
/* oklch */ color: oklch(47.0% 0.147 268.5);
Tailwind
colors: {
  custom: {
    50: '#7c82c5',
    500: '#3952ac',
    950: '#000000',
  },
}
SCSS
$custom: #3952ac;
$custom-light: #7c82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3952ac",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 226.957,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.1468,
    "h": 268.5
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#3952AC
secondary
#C2B37F
accent
#BB4EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3952AC

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

Preview Lab → · Contrast checker → · Palette generator →

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