#3F5DD5#3F5DD5

#3F5DD5 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.187 H 268.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#3F5DD5
RGBrgb(63, 93, 213)
HSLhsl(228, 64%, 54%)
HSVhsv(228, 70%, 84%)
CMYKcmyk(70.4%, 56.3%, 0%, 16.5%)
CIE-LABlab(43.78, 29.29, -65.01)
CIE-LCHlch(43.78, 71.31, 294.26°)
OKLaboklab(52.64% -0.0049 -0.1873)
OKLCHoklch(52.64% 0.187 268.5)
XYZxyz(17.9704, 13.6877, 64.6328)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5DD5 #D5B73F
analogous
#3FA8D5 #3F5DD5 #6C3FD5
triadic
#3F5DD5 #D53F5D #5DD53F
tetradic
#3F5DD5 #D53FA8 #D5B73F #3FD56C
square
#3F5DD5 #D53FA8 #D5B73F #3FD56C
split-complementary
#3F5DD5 #D56C3F #A8D53F
monochromatic
#1C2F7E #2742B0 #3F5DD5 #7187E0 #A3B2EB

Accessibility & contrast

On white

5.62
#3F5DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3F5DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5DD5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5DD5#FFFFFF#000000##FFFFFF
##3F5DD51.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5dd5;
/* rgb */ color: rgb(63, 93, 213);
/* oklch */ color: oklch(52.6% 0.187 268.5);
Tailwind
colors: {
  custom: {
    50: '#878ae3',
    500: '#3f5dd5',
    950: '#000000',
  },
}
SCSS
$custom: #3f5dd5;
$custom-light: #878ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5dd5",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 228,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.1874,
    "h": 268.5
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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