#3F52AE#3F52AE

#3F52AE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.148 H 271.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3F52AE
RGBrgb(63, 82, 174)
HSLhsl(230, 47%, 46%)
HSVhsv(230, 64%, 68%)
CMYKcmyk(63.8%, 52.9%, 0%, 31.8%)
CIE-LABlab(38.10, 22.44, -51.52)
CIE-LCHlch(38.10, 56.20, 293.54°)
OKLaboklab(47.49% 0.0025 -0.1478)
OKLCHoklch(47.49% 0.148 271)
XYZxyz(12.7046, 10.1462, 41.3251)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52AE #AE9B3F
analogous
#3F8AAE #3F52AE #643FAE
triadic
#3F52AE #AE3F52 #52AE3F
tetradic
#3F52AE #AE3F8A #AE9B3F #3FAE64
square
#3F52AE #AE3F8A #AE9B3F #3FAE64
split-complementary
#3F52AE #AE643F #8AAE3F
monochromatic
#1E2854 #2F3D81 #3F52AE #6474C7 #909DD7

Accessibility & contrast

On white

6.93
#3F52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3F52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52AE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52AE#FFFFFF#000000##FFFFFF
##3F52AE1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f52ae;
/* rgb */ color: rgb(63, 82, 174);
/* oklch */ color: oklch(47.5% 0.148 271.0);
Tailwind
colors: {
  custom: {
    50: '#7f82c7',
    500: '#3f52ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f52ae;
$custom-light: #7f82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52ae",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 229.73,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.14782,
    "h": 271
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#3F52AE
secondary
#C2B887
accent
#C051D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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