#3F5ED5#3F5ED5

#3F5ED5 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.186 H 268.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#3F5ED5
RGBrgb(63, 94, 213)
HSLhsl(228, 64%, 54%)
HSVhsv(228, 70%, 84%)
CMYKcmyk(70.4%, 55.9%, 0%, 16.5%)
CIE-LABlab(44.04, 28.66, -64.60)
CIE-LCHlch(44.04, 70.67, 293.93°)
OKLaboklab(52.84% -0.0056 -0.1861)
OKLCHoklch(52.84% 0.186 268.3)
XYZxyz(18.0587, 13.8644, 64.6623)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ED5 #D5B63F
analogous
#3FA9D5 #3F5ED5 #6B3FD5
triadic
#3F5ED5 #D53F5E #5ED53F
tetradic
#3F5ED5 #D53FA9 #D5B63F #3FD56B
square
#3F5ED5 #D53FA9 #D5B63F #3FD56B
split-complementary
#3F5ED5 #D56B3F #A9D53F
monochromatic
#1C307E #2743B0 #3F5ED5 #7188E0 #A3B2EB

Accessibility & contrast

On white

5.57
#3F5ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3F5ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ED5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ED5#FFFFFF#000000##FFFFFF
##3F5ED51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5ed5;
/* rgb */ color: rgb(63, 94, 213);
/* oklch */ color: oklch(52.8% 0.186 268.3);
Tailwind
colors: {
  custom: {
    50: '#868be3',
    500: '#3f5ed5',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ed5;
$custom-light: #868be3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ed5",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 227.6,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.18619,
    "h": 268.3
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

primary
#3F5ED5
secondary
#D8CB98
accent
#C541E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #3F5ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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