#3F57C7#3F57C7

#3F57C7 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.176 H 269.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#3F57C7
RGBrgb(63, 87, 199)
HSLhsl(229, 55%, 51%)
HSVhsv(229, 68%, 78%)
CMYKcmyk(68.3%, 56.3%, 0%, 22%)
CIE-LABlab(41.21, 28.12, -61.13)
CIE-LCHlch(41.21, 67.29, 294.70°)
OKLaboklab(50.39% -0.0006 -0.176)
OKLCHoklch(50.39% 0.176 269.8)
XYZxyz(15.7634, 11.9952, 55.5063)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F57C7 #C7AF3F
analogous
#3F9BC7 #3F57C7 #6B3FC7
triadic
#3F57C7 #C73F57 #57C73F
tetradic
#3F57C7 #C73F9B #C7AF3F #3FC76B
square
#3F57C7 #C73F9B #C7AF3F #3FC76B
split-complementary
#3F57C7 #C76B3F #9BC73F
monochromatic
#202D6C #2D419B #3F57C7 #6E80D5 #9EAAE3

Accessibility & contrast

On white

6.18
#3F57C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3F57C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F57C7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F57C7#FFFFFF#000000##FFFFFF
##3F57C71.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f57c7;
/* rgb */ color: rgb(63, 87, 199);
/* oklch */ color: oklch(50.4% 0.176 269.8);
Tailwind
colors: {
  custom: {
    50: '#8486d9',
    500: '#3f57c7',
    950: '#000000',
  },
}
SCSS
$custom: #3f57c7;
$custom-light: #8486d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f57c7",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 229.412,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.17601,
    "h": 269.8
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#3F57C7
secondary
#CFC493
accent
#C44ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F57C7

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

Preview Lab → · Contrast checker → · Palette generator →

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