#3F52AA#3F52AA

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

Color values

HEX#3F52AA
RGBrgb(63, 82, 170)
HSLhsl(229, 46%, 46%)
HSVhsv(229, 63%, 67%)
CMYKcmyk(62.9%, 51.8%, 0%, 33.3%)
CIE-LABlab(37.83, 21.02, -49.59)
CIE-LCHlch(37.83, 53.87, 292.97°)
OKLaboklab(47.19% 0.0022 -0.1421)
OKLCHoklch(47.19% 0.142 270.9)
XYZxyz(12.3205, 9.9926, 39.3019)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52AA #AA973F
analogous
#3F87AA #3F52AA #613FAA
triadic
#3F52AA #AA3F52 #52AA3F
tetradic
#3F52AA #AA3F87 #AA973F #3FAA61
square
#3F52AA #AA3F87 #AA973F #3FAA61
split-complementary
#3F52AA #AA613F #87AA3F
monochromatic
#1E2751 #2E3C7D #3F52AA #6273C5 #8E9BD5

Accessibility & contrast

On white

7.00
#3F52AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3F52AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52AA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52AA#FFFFFF#000000##FFFFFF
##3F52AA1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f52aa;
/* rgb */ color: rgb(63, 82, 170);
/* oklch */ color: oklch(47.2% 0.142 270.9);
Tailwind
colors: {
  custom: {
    50: '#7f82c4',
    500: '#3f52aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f52aa;
$custom-light: #7f82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52aa",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 229.346,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47194,
    "c": 0.14214,
    "h": 270.9
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#3F52AA
secondary
#C0B685
accent
#BE52D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F52AA

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

Preview Lab → · Contrast checker → · Palette generator →

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