#3F57D7#3F57D7

#3F57D7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.197 H 269.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3F57D7
RGBrgb(63, 87, 215)
HSLhsl(231, 66%, 55%)
HSVhsv(231, 71%, 84%)
CMYKcmyk(70.7%, 59.5%, 0%, 15.7%)
CIE-LABlab(42.43, 33.80, -68.36)
CIE-LCHlch(42.43, 76.26, 296.31°)
OKLaboklab(51.68% -0.0003 -0.1973)
OKLCHoklch(51.68% 0.197 269.9)
XYZxyz(17.7196, 12.7777, 65.8093)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F57D7 #D7BF3F
analogous
#3FA3D7 #3F57D7 #733FD7
triadic
#3F57D7 #D73F57 #57D73F
tetradic
#3F57D7 #D73FA3 #D7BF3F #3FD773
square
#3F57D7 #D73FA3 #D7BF3F #3FD773
split-complementary
#3F57D7 #D7733F #A3D73F
monochromatic
#1B2B81 #253CB3 #3F57D7 #7283E2 #A4B0EC

Accessibility & contrast

On white

5.91
#3F57D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3F57D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F57D7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F57D7#FFFFFF#000000##FFFFFF
##3F57D71.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f57d7;
/* rgb */ color: rgb(63, 87, 215);
/* oklch */ color: oklch(51.7% 0.197 269.9);
Tailwind
colors: {
  custom: {
    50: '#8786e4',
    500: '#3f57d7',
    950: '#000000',
  },
}
SCSS
$custom: #3f57d7;
$custom-light: #8786e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f57d7",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 230.526,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.19726,
    "h": 269.9
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#3F57D7
secondary
#D9CF99
accent
#CE3FE8
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3F57D7

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

Preview Lab → · Contrast checker → · Palette generator →

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