#3F5DD7#3F5DD7

#3F5DD7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.190 H 268.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#3F5DD7
RGBrgb(63, 93, 215)
HSLhsl(228, 66%, 55%)
HSVhsv(228, 71%, 84%)
CMYKcmyk(70.7%, 56.7%, 0%, 15.7%)
CIE-LABlab(43.93, 30.01, -65.91)
CIE-LCHlch(43.93, 72.42, 294.48°)
OKLaboklab(52.8% -0.0048 -0.19)
OKLCHoklch(52.8% 0.19 268.6)
XYZxyz(18.2258, 13.7899, 65.9780)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DD7 #D7B93F
analogous
#3FA9D7 #3F5DD7 #6D3FD7
triadic
#3F5DD7 #D73F5D #5DD73F
tetradic
#3F5DD7 #D73FA9 #D7B93F #3FD76D
square
#3F5DD7 #D73FA9 #D7B93F #3FD76D
split-complementary
#3F5DD7 #D76D3F #A9D73F
monochromatic
#1B2F81 #2541B3 #3F5DD7 #7288E2 #A4B2EC

Accessibility & contrast

On white

5.59
#3F5DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3F5DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DD7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DD7#FFFFFF#000000##FFFFFF
##3F5DD71.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f5dd7;
/* rgb */ color: rgb(63, 93, 215);
/* oklch */ color: oklch(52.8% 0.190 268.6);
Tailwind
colors: {
  custom: {
    50: '#878ae4',
    500: '#3f5dd7',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dd7;
$custom-light: #878ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dd7",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 228.158,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.528,
    "c": 0.19005,
    "h": 268.6
  },
  "luminance": 0.13792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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