#3F5DD6#3F5DD6

#3F5DD6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.189 H 268.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3F5DD6
RGBrgb(63, 93, 214)
HSLhsl(228, 65%, 54%)
HSVhsv(228, 71%, 84%)
CMYKcmyk(70.6%, 56.5%, 0%, 16.1%)
CIE-LABlab(43.86, 29.65, -65.46)
CIE-LCHlch(43.86, 71.87, 294.37°)
OKLaboklab(52.72% -0.0048 -0.1887)
OKLCHoklch(52.72% 0.189 268.5)
XYZxyz(18.0977, 13.7387, 65.3033)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DD6 #D6B83F
analogous
#3FA9D6 #3F5DD6 #6C3FD6
triadic
#3F5DD6 #D63F5D #5DD63F
tetradic
#3F5DD6 #D63FA9 #D6B83F #3FD66C
square
#3F5DD6 #D63FA9 #D6B83F #3FD66C
split-complementary
#3F5DD6 #D66C3F #A9D63F
monochromatic
#1B2F7F #2642B2 #3F5DD6 #7188E1 #A4B2EC

Accessibility & contrast

On white

5.60
#3F5DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3F5DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DD6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DD6#FFFFFF#000000##FFFFFF
##3F5DD61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f5dd6;
/* rgb */ color: rgb(63, 93, 214);
/* oklch */ color: oklch(52.7% 0.189 268.5);
Tailwind
colors: {
  custom: {
    50: '#878ae3',
    500: '#3f5dd6',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dd6;
$custom-light: #878ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dd6",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 214
  },
  "hsl": {
    "h": 228.079,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.18872,
    "h": 268.5
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#3F5DD6
secondary
#D8CC98
accent
#C640E8
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3F5DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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