#3F5CD3#3F5CD3

#3F5CD3 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.186 H 268.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#3F5CD3
RGBrgb(63, 92, 211)
HSLhsl(228, 63%, 54%)
HSVhsv(228, 70%, 83%)
CMYKcmyk(70.1%, 56.4%, 0%, 17.3%)
CIE-LABlab(43.38, 29.22, -64.52)
CIE-LCHlch(43.38, 70.83, 294.36°)
OKLaboklab(52.29% -0.0042 -0.1859)
OKLCHoklch(52.29% 0.186 268.7)
XYZxyz(17.6309, 13.4124, 63.2751)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CD3 #D3B63F
analogous
#3FA6D3 #3F5CD3 #6C3FD3
triadic
#3F5CD3 #D33F5C #5CD33F
tetradic
#3F5CD3 #D33FA6 #D3B63F #3FD36C
square
#3F5CD3 #D33FA6 #D3B63F #3FD36C
split-complementary
#3F5CD3 #D36C3F #A6D33F
monochromatic
#1C2F7B #2842AD #3F5CD3 #7186DE #A3B1EA

Accessibility & contrast

On white

5.70
#3F5CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3F5CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CD3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CD3#FFFFFF#000000##FFFFFF
##3F5CD31.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5cd3;
/* rgb */ color: rgb(63, 92, 211);
/* oklch */ color: oklch(52.3% 0.186 268.7);
Tailwind
colors: {
  custom: {
    50: '#8689e1',
    500: '#3f5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cd3;
$custom-light: #8689e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cd3",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 228.243,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52294,
    "c": 0.18596,
    "h": 268.7
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#3F5CD3
secondary
#D7CA97
accent
#C642E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3F5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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