#3F5FE4#3F5FE4

#3F5FE4 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.2% C 0.205 H 268.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#3F5FE4
RGBrgb(63, 95, 228)
HSLhsl(228, 75%, 57%)
HSVhsv(228, 72%, 89%)
CMYKcmyk(72.4%, 58.3%, 0%, 10.6%)
CIE-LABlab(45.41, 33.37, -70.89)
CIE-LCHlch(45.41, 78.35, 295.21°)
OKLaboklab(54.22% -0.0059 -0.2046)
OKLCHoklch(54.22% 0.205 268.3)
XYZxyz(20.1409, 14.8405, 75.1868)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FE4 #E4C43F
analogous
#3FB1E4 #3F5FE4 #723FE4
triadic
#3F5FE4 #E43F5F #5FE43F
tetradic
#3F5FE4 #E43FB1 #E4C43F #3FE472
square
#3F5FE4 #E43FB1 #E4C43F #3FE472
split-complementary
#3F5FE4 #E4723F #B1E43F
monochromatic
#152D94 #1C3EC9 #3F5FE4 #758CEC #AAB8F3

Accessibility & contrast

On white

5.29
#3F5FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#3F5FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FE4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FE4#FFFFFF#000000##FFFFFF
##3F5FE41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5fe4;
/* rgb */ color: rgb(63, 95, 228);
/* oklch */ color: oklch(54.2% 0.205 268.3);
Tailwind
colors: {
  custom: {
    50: '#8a8ced',
    500: '#3f5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fe4;
$custom-light: #8a8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fe4",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 228.364,
    "s": 75.342,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54217,
    "c": 0.20467,
    "h": 268.3
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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