#3F57B2#3F57B2

#3F57B2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.147 H 269.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3F57B2
RGBrgb(63, 87, 178)
HSLhsl(227, 48%, 47%)
HSVhsv(227, 65%, 70%)
CMYKcmyk(64.6%, 51.1%, 0%, 30.2%)
CIE-LABlab(39.73, 20.62, -51.27)
CIE-LCHlch(39.73, 55.26, 291.91°)
OKLaboklab(48.8% -0.002 -0.147)
OKLCHoklch(48.8% 0.147 269.2)
XYZxyz(13.4912, 11.0863, 43.5397)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F57B2 #B29A3F
analogous
#3F91B2 #3F57B2 #603FB2
triadic
#3F57B2 #B23F57 #57B23F
tetradic
#3F57B2 #B23F91 #B29A3F #3FB260
square
#3F57B2 #B23F91 #B29A3F #3FB260
split-complementary
#3F57B2 #B2603F #91B23F
monochromatic
#1F2B58 #2F4185 #3F57B2 #667AC9 #93A1D9

Accessibility & contrast

On white

6.53
#3F57B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3F57B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F57B2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F57B2#FFFFFF#000000##FFFFFF
##3F57B21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f57b2;
/* rgb */ color: rgb(63, 87, 178);
/* oklch */ color: oklch(48.8% 0.147 269.2);
Tailwind
colors: {
  custom: {
    50: '#8086ca',
    500: '#3f57b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f57b2;
$custom-light: #8086ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f57b2",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 227.478,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.147,
    "h": 269.2
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#3F57B2
secondary
#C4B889
accent
#BB50D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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