#3F52BA#3F52BA

#3F52BA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.165 H 271.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3F52BA
RGBrgb(63, 82, 186)
HSLhsl(231, 49%, 49%)
HSVhsv(231, 66%, 73%)
CMYKcmyk(66.1%, 55.9%, 0%, 27.1%)
CIE-LABlab(38.96, 26.71, -57.21)
CIE-LCHlch(38.96, 63.13, 295.02°)
OKLaboklab(48.4% 0.0032 -0.1645)
OKLCHoklch(48.4% 0.165 271.1)
XYZxyz(13.9271, 10.6353, 47.7637)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52BA #BAA73F
analogous
#3F90BA #3F52BA #6A3FBA
triadic
#3F52BA #BA3F52 #52BA3F
tetradic
#3F52BA #BA3F90 #BAA73F #3FBA6A
square
#3F52BA #BA3F90 #BAA73F #3FBA6A
split-complementary
#3F52BA #BA6A3F #90BA3F
monochromatic
#202A5F #303E8C #3F52BA #6A79CC #97A2DC

Accessibility & contrast

On white

6.71
#3F52BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3F52BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52BA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52BA#FFFFFF#000000##FFFFFF
##3F52BA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f52ba;
/* rgb */ color: rgb(63, 82, 186);
/* oklch */ color: oklch(48.4% 0.165 271.1);
Tailwind
colors: {
  custom: {
    50: '#8282cf',
    500: '#3f52ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f52ba;
$custom-light: #8282cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52ba",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 230.732,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48404,
    "c": 0.16456,
    "h": 271.1
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#3F52BA
secondary
#C8BF8D
accent
#C44FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3F52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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