#3F5ED7#3F5ED7

#3F5ED7 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.189 H 268.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#3F5ED7
RGBrgb(63, 94, 215)
HSLhsl(228, 66%, 55%)
HSVhsv(228, 71%, 84%)
CMYKcmyk(70.7%, 56.3%, 0%, 15.7%)
CIE-LABlab(44.19, 29.37, -65.50)
CIE-LCHlch(44.19, 71.79, 294.15°)
OKLaboklab(52.99% -0.0056 -0.1888)
OKLCHoklch(52.99% 0.189 268.3)
XYZxyz(18.3141, 13.9666, 66.0074)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ED7 #D7B83F
analogous
#3FAAD7 #3F5ED7 #6C3FD7
triadic
#3F5ED7 #D73F5E #5ED73F
tetradic
#3F5ED7 #D73FAA #D7B83F #3FD76C
square
#3F5ED7 #D73FAA #D7B83F #3FD76C
split-complementary
#3F5ED7 #D76C3F #AAD73F
monochromatic
#1B3081 #2542B3 #3F5ED7 #7288E2 #A4B3EC

Accessibility & contrast

On white

5.54
#3F5ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3F5ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ED7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ED7#FFFFFF#000000##FFFFFF
##3F5ED71.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f5ed7;
/* rgb */ color: rgb(63, 94, 215);
/* oklch */ color: oklch(53.0% 0.189 268.3);
Tailwind
colors: {
  custom: {
    50: '#878be4',
    500: '#3f5ed7',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ed7;
$custom-light: #878be4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ed7",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 227.763,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52991,
    "c": 0.18884,
    "h": 268.3
  },
  "luminance": 0.13968
}

Semantic roles & 50–950 ramp

primary
#3F5ED7
secondary
#D9CC99
accent
#C63FE8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3F5ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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