#3F57D9#3F57D9

#3F57D9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.200 H 269.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3F57D9
RGBrgb(63, 87, 217)
HSLhsl(231, 67%, 55%)
HSVhsv(231, 71%, 85%)
CMYKcmyk(71%, 59.9%, 0%, 14.9%)
CIE-LABlab(42.58, 34.50, -69.25)
CIE-LCHlch(42.58, 77.37, 296.48°)
OKLaboklab(51.85% -0.0003 -0.1999)
OKLCHoklch(51.85% 0.2 269.9)
XYZxyz(17.9782, 12.8811, 67.1710)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F57D9 #D9C13F
analogous
#3FA4D9 #3F57D9 #743FD9
triadic
#3F57D9 #D93F57 #57D93F
tetradic
#3F57D9 #D93FA4 #D9C13F #3FD974
square
#3F57D9 #D93FA4 #D9C13F #3FD974
split-complementary
#3F57D9 #D9743F #A4D93F
monochromatic
#1A2A84 #243BB7 #3F57D9 #7284E3 #A5B0ED

Accessibility & contrast

On white

5.87
#3F57D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3F57D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F57D9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F57D9#FFFFFF#000000##FFFFFF
##3F57D91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f57d9;
/* rgb */ color: rgb(63, 87, 217);
/* oklch */ color: oklch(51.8% 0.200 269.9);
Tailwind
colors: {
  custom: {
    50: '#8886e6',
    500: '#3f57d9',
    950: '#000000',
  },
}
SCSS
$custom: #3f57d9;
$custom-light: #8886e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f57d9",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 230.649,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51845,
    "c": 0.19986,
    "h": 269.9
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#3F57D9
secondary
#DAD09A
accent
#CF3EEA
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3F57D9

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

Preview Lab → · Contrast checker → · Palette generator →

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