#3F52BD#3F52BD

#3F52BD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.169 H 271.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3F52BD
RGBrgb(63, 82, 189)
HSLhsl(231, 50%, 49%)
HSVhsv(231, 67%, 74%)
CMYKcmyk(66.7%, 56.6%, 0%, 25.9%)
CIE-LABlab(39.18, 27.77, -58.61)
CIE-LCHlch(39.18, 64.85, 295.35°)
OKLaboklab(48.64% 0.0033 -0.1686)
OKLCHoklch(48.64% 0.169 271.1)
XYZxyz(14.2494, 10.7642, 49.4610)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52BD #BDAA3F
analogous
#3F91BD #3F52BD #6B3FBD
triadic
#3F52BD #BD3F52 #52BD3F
tetradic
#3F52BD #BD3F91 #BDAA3F #3FBD6B
square
#3F52BD #BD3F91 #BDAA3F #3FBD6B
split-complementary
#3F52BD #BD6B3F #91BD3F
monochromatic
#202A61 #303E8F #3F52BD #6B7ACE #99A4DD

Accessibility & contrast

On white

6.66
#3F52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3F52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52BD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52BD#FFFFFF#000000##FFFFFF
##3F52BD1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f52bd;
/* rgb */ color: rgb(63, 82, 189);
/* oklch */ color: oklch(48.6% 0.169 271.1);
Tailwind
colors: {
  custom: {
    50: '#8282d2',
    500: '#3f52bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f52bd;
$custom-light: #8282d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52bd",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 230.952,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48639,
    "c": 0.16867,
    "h": 271.1
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#3F52BD
secondary
#C9C08F
accent
#C54EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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