#3F52BB#3F52BB

#3F52BB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.166 H 271.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3F52BB
RGBrgb(63, 82, 187)
HSLhsl(231, 50%, 49%)
HSVhsv(231, 66%, 73%)
CMYKcmyk(66.3%, 56.1%, 0%, 26.7%)
CIE-LABlab(39.03, 27.06, -57.67)
CIE-LCHlch(39.03, 63.71, 295.14°)
OKLaboklab(48.48% 0.0033 -0.1659)
OKLCHoklch(48.48% 0.166 271.1)
XYZxyz(14.0338, 10.6779, 48.3255)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52BB #BBA83F
analogous
#3F90BB #3F52BB #6A3FBB
triadic
#3F52BB #BB3F52 #52BB3F
tetradic
#3F52BB #BB3F90 #BBA83F #3FBB6A
square
#3F52BB #BB3F90 #BBA83F #3FBB6A
split-complementary
#3F52BB #BB6A3F #90BB3F
monochromatic
#202A5F #303E8D #3F52BB #6A79CD #98A3DC

Accessibility & contrast

On white

6.70
#3F52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3F52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52BB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52BB#FFFFFF#000000##FFFFFF
##3F52BB1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f52bb;
/* rgb */ color: rgb(63, 82, 187);
/* oklch */ color: oklch(48.5% 0.166 271.1);
Tailwind
colors: {
  custom: {
    50: '#8282d0',
    500: '#3f52bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f52bb;
$custom-light: #8282d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52bb",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 230.806,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.16593,
    "h": 271.1
  },
  "luminance": 0.10679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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