#3F5CD4#3F5CD4

#3F5CD4 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.187 H 268.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3F5CD4
RGBrgb(63, 92, 212)
HSLhsl(228, 63%, 54%)
HSVhsv(228, 70%, 83%)
CMYKcmyk(70.3%, 56.6%, 0%, 16.9%)
CIE-LABlab(43.45, 29.57, -64.98)
CIE-LCHlch(43.45, 71.39, 294.47°)
OKLaboklab(52.37% -0.0041 -0.1872)
OKLCHoklch(52.37% 0.187 268.7)
XYZxyz(17.7566, 13.4627, 63.9374)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CD4 #D4B73F
analogous
#3FA7D4 #3F5CD4 #6D3FD4
triadic
#3F5CD4 #D43F5C #5CD43F
tetradic
#3F5CD4 #D43FA7 #D4B73F #3FD46D
square
#3F5CD4 #D43FA7 #D4B73F #3FD46D
split-complementary
#3F5CD4 #D46D3F #A7D43F
monochromatic
#1C2F7D #2742AF #3F5CD4 #7186DF #A3B1EA

Accessibility & contrast

On white

5.69
#3F5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3F5CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CD4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CD4#FFFFFF#000000##FFFFFF
##3F5CD41.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f5cd4;
/* rgb */ color: rgb(63, 92, 212);
/* oklch */ color: oklch(52.4% 0.187 268.7);
Tailwind
colors: {
  custom: {
    50: '#8689e2',
    500: '#3f5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cd4;
$custom-light: #8689e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cd4",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 228.322,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52373,
    "c": 0.18729,
    "h": 268.7
  },
  "luminance": 0.13465
}

Semantic roles & 50–950 ramp

primary
#3F5CD4
secondary
#D7CB98
accent
#C641E6
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #3F5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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