#3F5FD4#3F5FD4

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

Color values

HEX#3F5FD4
RGBrgb(63, 95, 212)
HSLhsl(227, 63%, 54%)
HSVhsv(227, 70%, 83%)
CMYKcmyk(70.3%, 55.2%, 0%, 16.9%)
CIE-LABlab(44.22, 27.67, -63.72)
CIE-LCHlch(44.22, 69.47, 293.47°)
OKLaboklab(52.95% -0.0065 -0.1835)
OKLCHoklch(52.95% 0.184 268)
XYZxyz(18.0217, 13.9928, 64.0257)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FD4 #D4B43F
analogous
#3FAAD4 #3F5FD4 #6A3FD4
triadic
#3F5FD4 #D43F5F #5FD43F
tetradic
#3F5FD4 #D43FAA #D4B43F #3FD46A
square
#3F5FD4 #D43FAA #D4B43F #3FD46A
split-complementary
#3F5FD4 #D46A3F #AAD43F
monochromatic
#1C317D #2744AF #3F5FD4 #7189DF #A3B2EA

Accessibility & contrast

On white

5.53
#3F5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#3F5FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FD4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FD4#FFFFFF#000000##FFFFFF
##3F5FD41.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3f5fd4;
/* rgb */ color: rgb(63, 95, 212);
/* oklch */ color: oklch(52.9% 0.184 268.0);
Tailwind
colors: {
  custom: {
    50: '#868ce2',
    500: '#3f5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fd4;
$custom-light: #868ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fd4",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 227.114,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5295,
    "c": 0.18363,
    "h": 268
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#3F5FD4
secondary
#D7CA98
accent
#C341E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #3F5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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