#3F52AF#3F52AF

#3F52AF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.149 H 271.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3F52AF
RGBrgb(63, 82, 175)
HSLhsl(230, 47%, 47%)
HSVhsv(230, 64%, 69%)
CMYKcmyk(64%, 53.1%, 0%, 31.4%)
CIE-LABlab(38.17, 22.80, -52.00)
CIE-LCHlch(38.17, 56.78, 293.67°)
OKLaboklab(47.56% 0.0026 -0.1492)
OKLCHoklch(47.56% 0.149 271)
XYZxyz(12.8025, 10.1854, 41.8404)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52AF #AF9C3F
analogous
#3F8AAF #3F52AF #643FAF
triadic
#3F52AF #AF3F52 #52AF3F
tetradic
#3F52AF #AF3F8A #AF9C3F #3FAF64
square
#3F52AF #AF3F8A #AF9C3F #3FAF64
split-complementary
#3F52AF #AF643F #8AAF3F
monochromatic
#1F2855 #2F3D82 #3F52AF #6475C7 #919DD7

Accessibility & contrast

On white

6.91
#3F52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3F52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52AF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52AF#FFFFFF#000000##FFFFFF
##3F52AF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f52af;
/* rgb */ color: rgb(63, 82, 175);
/* oklch */ color: oklch(47.6% 0.149 271.0);
Tailwind
colors: {
  custom: {
    50: '#8082c7',
    500: '#3f52af',
    950: '#000000',
  },
}
SCSS
$custom: #3f52af;
$custom-light: #8082c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52af",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 229.821,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47564,
    "c": 0.14923,
    "h": 271
  },
  "luminance": 0.10186
}

Semantic roles & 50–950 ramp

primary
#3F52AF
secondary
#C3B987
accent
#C051D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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