#3F52AB#3F52AB

#3F52AB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.144 H 270.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3F52AB
RGBrgb(63, 82, 171)
HSLhsl(229, 46%, 46%)
HSVhsv(229, 63%, 67%)
CMYKcmyk(63.2%, 52%, 0%, 32.9%)
CIE-LABlab(37.90, 21.38, -50.08)
CIE-LCHlch(37.90, 54.45, 293.12°)
OKLaboklab(47.27% 0.0022 -0.1435)
OKLCHoklch(47.27% 0.144 270.9)
XYZxyz(12.4154, 10.0306, 39.8020)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52AB #AB983F
analogous
#3F88AB #3F52AB #623FAB
triadic
#3F52AB #AB3F52 #52AB3F
tetradic
#3F52AB #AB3F88 #AB983F #3FAB62
square
#3F52AB #AB3F88 #AB983F #3FAB62
split-complementary
#3F52AB #AB623F #88AB3F
monochromatic
#1E2752 #2F3D7E #3F52AB #6273C5 #8F9BD6

Accessibility & contrast

On white

6.99
#3F52AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3F52AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52AB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52AB#FFFFFF#000000##FFFFFF
##3F52AB1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f52ab;
/* rgb */ color: rgb(63, 82, 171);
/* oklch */ color: oklch(47.3% 0.144 270.9);
Tailwind
colors: {
  custom: {
    50: '#7f82c5',
    500: '#3f52ab',
    950: '#000000',
  },
}
SCSS
$custom: #3f52ab;
$custom-light: #7f82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52ab",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 229.444,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47267,
    "c": 0.14357,
    "h": 270.9
  },
  "luminance": 0.10032
}

Semantic roles & 50–950 ramp

primary
#3F52AB
secondary
#C1B685
accent
#BF52D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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