#3F5FD6#3F5FD6

#3F5FD6 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.186 H 268.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#3F5FD6
RGBrgb(63, 95, 214)
HSLhsl(227, 65%, 54%)
HSVhsv(227, 71%, 84%)
CMYKcmyk(70.6%, 55.6%, 0%, 16.1%)
CIE-LABlab(44.37, 28.38, -64.63)
CIE-LCHlch(44.37, 70.59, 293.71°)
OKLaboklab(53.11% -0.0064 -0.1862)
OKLCHoklch(53.11% 0.186 268)
XYZxyz(18.2755, 14.0944, 65.3626)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FD6 #D6B63F
analogous
#3FAAD6 #3F5FD6 #6B3FD6
triadic
#3F5FD6 #D63F5F #5FD63F
tetradic
#3F5FD6 #D63FAA #D6B63F #3FD66B
square
#3F5FD6 #D63FAA #D6B63F #3FD66B
split-complementary
#3F5FD6 #D66B3F #AAD63F
monochromatic
#1B307F #2644B2 #3F5FD6 #7189E1 #A4B3EC

Accessibility & contrast

On white

5.50
#3F5FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#3F5FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FD6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FD6#FFFFFF#000000##FFFFFF
##3F5FD61.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3f5fd6;
/* rgb */ color: rgb(63, 95, 214);
/* oklch */ color: oklch(53.1% 0.186 268.0);
Tailwind
colors: {
  custom: {
    50: '#878ce3',
    500: '#3f5fd6',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fd6;
$custom-light: #878ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fd6",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 227.285,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53105,
    "c": 0.1863,
    "h": 268
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#3F5FD6
secondary
#D8CB98
accent
#C440E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3F5FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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