#3952AF#3952AF

#3952AF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.151 H 268.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#3952AF
RGBrgb(57, 82, 175)
HSLhsl(227, 51%, 45%)
HSVhsv(227, 67%, 69%)
CMYKcmyk(67.4%, 53.1%, 0%, 31.4%)
CIE-LABlab(37.84, 21.79, -52.56)
CIE-LCHlch(37.84, 56.90, 292.52°)
OKLaboklab(47.22% -0.0035 -0.151)
OKLCHoklch(47.22% 0.151 268.7)
XYZxyz(12.4398, 9.9984, 41.8234)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952AF #AF9639
analogous
#398DAF #3952AF #5B39AF
triadic
#3952AF #AF3952 #52AF39
tetradic
#3952AF #AF398D #AF9639 #39AF5B
square
#3952AF #AF398D #AF9639 #39AF5B
split-complementary
#3952AF #AF5B39 #8DAF39
monochromatic
#1B2753 #2A3C81 #3952AF #5B73CA #8A9AD9

Accessibility & contrast

On white

7.00
#3952AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3952AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952AF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952AF#FFFFFF#000000##FFFFFF
##3952AF1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3952af;
/* rgb */ color: rgb(57, 82, 175);
/* oklch */ color: oklch(47.2% 0.151 268.7);
Tailwind
colors: {
  custom: {
    50: '#7d82c7',
    500: '#3952af',
    950: '#000000',
  },
}
SCSS
$custom: #3952af;
$custom-light: #7d82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3952af",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 227.288,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47223,
    "c": 0.15102,
    "h": 268.7
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#3952AF
secondary
#C3B581
accent
#BC4DDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3952AF

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

Preview Lab → · Contrast checker → · Palette generator →

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