#3F5CD5#3F5CD5

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

Color values

HEX#3F5CD5
RGBrgb(63, 92, 213)
HSLhsl(228, 64%, 54%)
HSVhsv(228, 70%, 84%)
CMYKcmyk(70.4%, 56.8%, 0%, 16.5%)
CIE-LABlab(43.53, 29.93, -65.43)
CIE-LCHlch(43.53, 71.95, 294.58°)
OKLaboklab(52.45% -0.0041 -0.1886)
OKLCHoklch(52.45% 0.189 268.8)
XYZxyz(17.8832, 13.5133, 64.6038)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CD5 #D5B83F
analogous
#3FA7D5 #3F5CD5 #6D3FD5
triadic
#3F5CD5 #D53F5C #5CD53F
tetradic
#3F5CD5 #D53FA7 #D5B83F #3FD56D
square
#3F5CD5 #D53FA7 #D5B83F #3FD56D
split-complementary
#3F5CD5 #D56D3F #A7D53F
monochromatic
#1C2F7E #2741B0 #3F5CD5 #7187E0 #A3B1EB

Accessibility & contrast

On white

5.67
#3F5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3F5CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CD5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CD5#FFFFFF#000000##FFFFFF
##3F5CD51.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f5cd5;
/* rgb */ color: rgb(63, 92, 213);
/* oklch */ color: oklch(52.5% 0.189 268.8);
Tailwind
colors: {
  custom: {
    50: '#8789e3',
    500: '#3f5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cd5;
$custom-light: #8789e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cd5",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 228.4,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.18861,
    "h": 268.8
  },
  "luminance": 0.13515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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