#3F57BF#3F57BF

#3F57BF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.8% C 0.165 H 269.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#3F57BF
RGBrgb(63, 87, 191)
HSLhsl(229, 50%, 50%)
HSVhsv(229, 67%, 75%)
CMYKcmyk(67%, 54.5%, 0%, 25.1%)
CIE-LABlab(40.63, 25.27, -57.43)
CIE-LCHlch(40.63, 62.74, 293.75°)
OKLaboklab(49.77% -0.001 -0.1651)
OKLCHoklch(49.77% 0.165 269.7)
XYZxyz(14.8589, 11.6333, 50.7425)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F57BF #BFA73F
analogous
#3F97BF #3F57BF #673FBF
triadic
#3F57BF #BF3F57 #57BF3F
tetradic
#3F57BF #BF3F97 #BFA73F #3FBF67
square
#3F57BF #BF3F97 #BFA73F #3FBF67
split-complementary
#3F57BF #BF673F #97BF3F
monochromatic
#212D63 #304291 #3F57BF #6D7FCF #9BA7DE

Accessibility & contrast

On white

6.31
#3F57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3F57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F57BF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F57BF#FFFFFF#000000##FFFFFF
##3F57BF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0466C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f57bf;
/* rgb */ color: rgb(63, 87, 191);
/* oklch */ color: oklch(49.8% 0.165 269.7);
Tailwind
colors: {
  custom: {
    50: '#8286d3',
    500: '#3f57bf',
    950: '#000000',
  },
}
SCSS
$custom: #3f57bf;
$custom-light: #8286d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f57bf",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 228.75,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.16511,
    "h": 269.7
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

primary
#3F57BF
secondary
#CABF90
accent
#C04EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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