#3F52B2#3F52B2

#3F52B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.153 H 271.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3F52B2
RGBrgb(63, 82, 178)
HSLhsl(230, 48%, 47%)
HSVhsv(230, 65%, 70%)
CMYKcmyk(64.6%, 53.9%, 0%, 30.2%)
CIE-LABlab(38.38, 23.87, -53.43)
CIE-LCHlch(38.38, 58.52, 294.07°)
OKLaboklab(47.79% 0.0028 -0.1534)
OKLCHoklch(47.79% 0.153 271)
XYZxyz(13.1004, 10.3045, 43.4095)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52B2 #B29F3F
analogous
#3F8CB2 #3F52B2 #663FB2
triadic
#3F52B2 #B23F52 #52B23F
tetradic
#3F52B2 #B23F8C #B29F3F #3FB266
square
#3F52B2 #B23F8C #B29F3F #3FB266
split-complementary
#3F52B2 #B2663F #8CB23F
monochromatic
#1F2858 #2F3D85 #3F52B2 #6676C9 #939ED9

Accessibility & contrast

On white

6.86
#3F52B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3F52B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52B2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52B2#FFFFFF#000000##FFFFFF
##3F52B21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f52b2;
/* rgb */ color: rgb(63, 82, 178);
/* oklch */ color: oklch(47.8% 0.153 271.0);
Tailwind
colors: {
  custom: {
    50: '#8082ca',
    500: '#3f52b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f52b2;
$custom-light: #8082ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52b2",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 230.087,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.15346,
    "h": 271
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

primary
#3F52B2
secondary
#C4BA89
accent
#C150D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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