#3F5CD6#3F5CD6

#3F5CD6 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.5% C 0.190 H 268.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3F5CD6
RGBrgb(63, 92, 214)
HSLhsl(228, 65%, 54%)
HSVhsv(228, 71%, 84%)
CMYKcmyk(70.6%, 57%, 0%, 16.1%)
CIE-LABlab(43.60, 30.28, -65.88)
CIE-LCHlch(43.60, 72.51, 294.69°)
OKLaboklab(52.53% -0.0041 -0.1899)
OKLCHoklch(52.53% 0.19 268.8)
XYZxyz(18.0105, 13.5643, 65.2743)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CD6 #D6B93F
analogous
#3FA8D6 #3F5CD6 #6E3FD6
triadic
#3F5CD6 #D63F5C #5CD63F
tetradic
#3F5CD6 #D63FA8 #D6B93F #3FD66E
square
#3F5CD6 #D63FA8 #D6B93F #3FD66E
split-complementary
#3F5CD6 #D66E3F #A8D63F
monochromatic
#1B2E7F #2641B2 #3F5CD6 #7187E1 #A4B2EC

Accessibility & contrast

On white

5.66
#3F5CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3F5CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CD6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CD6#FFFFFF#000000##FFFFFF
##3F5CD61.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f5cd6;
/* rgb */ color: rgb(63, 92, 214);
/* oklch */ color: oklch(52.5% 0.190 268.8);
Tailwind
colors: {
  custom: {
    50: '#8789e3',
    500: '#3f5cd6',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cd6;
$custom-light: #8789e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cd6",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 228.477,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.18993,
    "h": 268.8
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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