#3F5EE4#3F5EE4

#3F5EE4 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.0% C 0.206 H 268.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3F5EE4
RGBrgb(63, 94, 228)
HSLhsl(229, 75%, 57%)
HSVhsv(229, 72%, 89%)
CMYKcmyk(72.4%, 58.8%, 0%, 10.6%)
CIE-LABlab(45.17, 34.00, -71.29)
CIE-LCHlch(45.17, 78.98, 295.50°)
OKLaboklab(54.03% -0.0052 -0.2058)
OKLCHoklch(54.03% 0.206 268.5)
XYZxyz(20.0514, 14.6615, 75.1570)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EE4 #E4C53F
analogous
#3FB1E4 #3F5EE4 #733FE4
triadic
#3F5EE4 #E43F5E #5EE43F
tetradic
#3F5EE4 #E43FB1 #E4C53F #3FE473
square
#3F5EE4 #E43FB1 #E4C53F #3FE473
split-complementary
#3F5EE4 #E4733F #B1E43F
monochromatic
#152D94 #1C3DC9 #3F5EE4 #758BEC #AAB8F3

Accessibility & contrast

On white

5.34
#3F5EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3F5EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EE4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EE4#FFFFFF#000000##FFFFFF
##3F5EE41.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f5ee4;
/* rgb */ color: rgb(63, 94, 228);
/* oklch */ color: oklch(54.0% 0.206 268.5);
Tailwind
colors: {
  custom: {
    50: '#8a8bed',
    500: '#3f5ee4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ee4;
$custom-light: #8a8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ee4",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 228.727,
    "s": 75.342,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.20584,
    "h": 268.5
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

primary
#3F5EE4
secondary
#E1D49E
accent
#CF36F2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3F5EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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