#3F52D3#3F52D3

#3F52D3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.198 H 271.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3F52D3
RGBrgb(63, 82, 211)
HSLhsl(232, 63%, 54%)
HSVhsv(232, 70%, 83%)
CMYKcmyk(70.1%, 61.1%, 0%, 17.3%)
CIE-LABlab(40.88, 35.53, -68.58)
CIE-LCHlch(40.88, 77.24, 297.38°)
OKLaboklab(50.44% 0.0034 -0.1979)
OKLCHoklch(50.44% 0.198 271)
XYZxyz(16.8211, 11.7928, 63.0051)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52D3 #D3C03F
analogous
#3F9CD3 #3F52D3 #763FD3
triadic
#3F52D3 #D33F52 #52D33F
tetradic
#3F52D3 #D33F9C #D3C03F #3FD376
square
#3F52D3 #D33F9C #D3C03F #3FD376
split-complementary
#3F52D3 #D3763F #9CD33F
monochromatic
#1C287B #2839AD #3F52D3 #717FDE #A3ACEA

Accessibility & contrast

On white

6.25
#3F52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3F52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52D3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52D3#FFFFFF#000000##FFFFFF
##3F52D31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f52d3;
/* rgb */ color: rgb(63, 82, 211);
/* oklch */ color: oklch(50.4% 0.198 271.0);
Tailwind
colors: {
  custom: {
    50: '#8782e1',
    500: '#3f52d3',
    950: '#000000',
  },
}
SCSS
$custom: #3f52d3;
$custom-light: #8782e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52d3",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 232.297,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.19798,
    "h": 271
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#3F52D3
secondary
#D7CE97
accent
#D142E6
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #3F52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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