#3F52B4#3F52B4

#3F52B4 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.156 H 271.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3F52B4
RGBrgb(63, 82, 180)
HSLhsl(230, 48%, 48%)
HSVhsv(230, 65%, 71%)
CMYKcmyk(65%, 54.4%, 0%, 29.4%)
CIE-LABlab(38.53, 24.57, -54.38)
CIE-LCHlch(38.53, 59.68, 294.32°)
OKLaboklab(47.94% 0.0029 -0.1562)
OKLCHoklch(47.94% 0.156 271.1)
XYZxyz(13.3026, 10.3855, 44.4747)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52B4 #B4A13F
analogous
#3F8DB4 #3F52B4 #663FB4
triadic
#3F52B4 #B43F52 #52B43F
tetradic
#3F52B4 #B43F8D #B4A13F #3FB466
square
#3F52B4 #B43F8D #B4A13F #3FB466
split-complementary
#3F52B4 #B4663F #8DB43F
monochromatic
#1F2959 #2F3D87 #3F52B4 #6777CA #949FDA

Accessibility & contrast

On white

6.82
#3F52B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3F52B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52B4
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52B4#FFFFFF#000000##FFFFFF
##3F52B41.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)
#0960B7
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f52b4;
/* rgb */ color: rgb(63, 82, 180);
/* oklch */ color: oklch(47.9% 0.156 271.1);
Tailwind
colors: {
  custom: {
    50: '#8182cb',
    500: '#3f52b4',
    950: '#000000',
  },
}
SCSS
$custom: #3f52b4;
$custom-light: #8182cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52b4",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 230.256,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47941,
    "c": 0.15625,
    "h": 271.1
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#3F52B4
secondary
#C5BB8A
accent
#C250D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F52B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3F52B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva