#3F57D2#3F57D2

#3F57D2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.191 H 269.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3F57D2
RGBrgb(63, 87, 210)
HSLhsl(230, 62%, 54%)
HSVhsv(230, 70%, 82%)
CMYKcmyk(70%, 58.6%, 0%, 17.6%)
CIE-LABlab(42.04, 32.03, -66.13)
CIE-LCHlch(42.04, 73.48, 295.84°)
OKLaboklab(51.27% -0.0003 -0.1907)
OKLCHoklch(51.27% 0.191 269.9)
XYZxyz(17.0870, 12.5246, 62.4773)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F57D2 #D2BA3F
analogous
#3FA0D2 #3F57D2 #703FD2
triadic
#3F57D2 #D23F57 #57D23F
tetradic
#3F57D2 #D23FA0 #D2BA3F #3FD270
square
#3F57D2 #D23FA0 #D2BA3F #3FD270
split-complementary
#3F57D2 #D2703F #A0D23F
monochromatic
#1D2C7A #283EAC #3F57D2 #7182DE #A2AEE9

Accessibility & contrast

On white

5.99
#3F57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3F57D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F57D2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F57D2#FFFFFF#000000##FFFFFF
##3F57D21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f57d2;
/* rgb */ color: rgb(63, 87, 210);
/* oklch */ color: oklch(51.3% 0.191 269.9);
Tailwind
colors: {
  custom: {
    50: '#8686e1',
    500: '#3f57d2',
    950: '#000000',
  },
}
SCSS
$custom: #3f57d2;
$custom-light: #8686e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f57d2",
  "rgb": {
    "r": 63,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 230.204,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51269,
    "c": 0.19069,
    "h": 269.9
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#3F57D2
secondary
#D6CC97
accent
#CB43E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #3F57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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