#3F5AD6#3F5AD6

#3F5AD6 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.192 H 269.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3F5AD6
RGBrgb(63, 90, 214)
HSLhsl(229, 65%, 54%)
HSVhsv(229, 71%, 84%)
CMYKcmyk(70.6%, 57.9%, 0%, 16.1%)
CIE-LABlab(43.10, 31.55, -66.70)
CIE-LCHlch(43.10, 73.79, 295.32°)
OKLaboklab(52.15% -0.0025 -0.1923)
OKLCHoklch(52.15% 0.192 269.2)
XYZxyz(17.8395, 13.2223, 65.2173)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5AD6 #D6BB3F
analogous
#3FA5D6 #3F5AD6 #703FD6
triadic
#3F5AD6 #D63F5A #5AD63F
tetradic
#3F5AD6 #D63FA5 #D6BB3F #3FD670
square
#3F5AD6 #D63FA5 #D6BB3F #3FD670
split-complementary
#3F5AD6 #D6703F #A5D63F
monochromatic
#1B2D7F #263FB2 #3F5AD6 #7185E1 #A4B1EC

Accessibility & contrast

On white

5.76
#3F5AD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3F5AD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5AD6
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5AD6#FFFFFF#000000##FFFFFF
##3F5AD61.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5ad6;
/* rgb */ color: rgb(63, 90, 214);
/* oklch */ color: oklch(52.2% 0.192 269.2);
Tailwind
colors: {
  custom: {
    50: '#8788e4',
    500: '#3f5ad6',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ad6;
$custom-light: #8788e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ad6",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 214
  },
  "hsl": {
    "h": 229.272,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.19235,
    "h": 269.2
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#3F5AD6
secondary
#D8CD98
accent
#CA40E8
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3F5AD6

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

Preview Lab → · Contrast checker → · Palette generator →

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