#3F5FD5#3F5FD5

#3F5FD5 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.185 H 268.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#3F5FD5
RGBrgb(63, 95, 213)
HSLhsl(227, 64%, 54%)
HSVhsv(227, 70%, 84%)
CMYKcmyk(70.4%, 55.4%, 0%, 16.5%)
CIE-LABlab(44.30, 28.02, -64.18)
CIE-LCHlch(44.30, 70.03, 293.59°)
OKLaboklab(53.03% -0.0064 -0.1849)
OKLCHoklch(53.03% 0.185 268)
XYZxyz(18.1482, 14.0434, 64.6921)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FD5 #D5B53F
analogous
#3FAAD5 #3F5FD5 #6A3FD5
triadic
#3F5FD5 #D53F5F #5FD53F
tetradic
#3F5FD5 #D53FAA #D5B53F #3FD56A
square
#3F5FD5 #D53FAA #D5B53F #3FD56A
split-complementary
#3F5FD5 #D56A3F #AAD53F
monochromatic
#1C317E #2744B0 #3F5FD5 #7189E0 #A3B3EB

Accessibility & contrast

On white

5.51
#3F5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#3F5FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FD5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FD5#FFFFFF#000000##FFFFFF
##3F5FD51.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3f5fd5;
/* rgb */ color: rgb(63, 95, 213);
/* oklch */ color: oklch(53.0% 0.185 268.0);
Tailwind
colors: {
  custom: {
    50: '#868ce3',
    500: '#3f5fd5',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fd5;
$custom-light: #868ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fd5",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 227.2,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53028,
    "c": 0.18497,
    "h": 268
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#3F5FD5
secondary
#D8CA98
accent
#C441E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #3F5FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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