#3F52B7#3F52B7

#3F52B7 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.160 H 271.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3F52B7
RGBrgb(63, 82, 183)
HSLhsl(231, 49%, 48%)
HSVhsv(231, 66%, 72%)
CMYKcmyk(65.6%, 55.2%, 0%, 28.2%)
CIE-LABlab(38.74, 25.64, -55.80)
CIE-LCHlch(38.74, 61.41, 294.68°)
OKLaboklab(48.17% 0.0031 -0.1604)
OKLCHoklch(48.17% 0.16 271.1)
XYZxyz(13.6116, 10.5090, 46.1017)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52B7 #B7A43F
analogous
#3F8EB7 #3F52B7 #683FB7
triadic
#3F52B7 #B73F52 #52B73F
tetradic
#3F52B7 #B73F8E #B7A43F #3FB768
square
#3F52B7 #B73F8E #B7A43F #3FB768
split-complementary
#3F52B7 #B7683F #8EB73F
monochromatic
#20295C #2F3E89 #3F52B7 #6878CB #96A1DB

Accessibility & contrast

On white

6.77
#3F52B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3F52B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52B7
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52B7#FFFFFF#000000##FFFFFF
##3F52B71.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f52b7;
/* rgb */ color: rgb(63, 82, 183);
/* oklch */ color: oklch(48.2% 0.160 271.1);
Tailwind
colors: {
  custom: {
    50: '#8182cd',
    500: '#3f52b7',
    950: '#000000',
  },
}
SCSS
$custom: #3f52b7;
$custom-light: #8182cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52b7",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 230.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48171,
    "c": 0.16042,
    "h": 271.1
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#3F52B7
secondary
#C6BD8B
accent
#C34FD8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3F52B7

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

Preview Lab → · Contrast checker → · Palette generator →

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