#3F56E2#3F56E2

#3F56E2 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.4% C 0.213 H 270.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#3F56E2
RGBrgb(63, 86, 226)
HSLhsl(232, 74%, 57%)
HSVhsv(232, 72%, 89%)
CMYKcmyk(72.1%, 61.9%, 0%, 11.4%)
CIE-LABlab(43.06, 38.28, -73.59)
CIE-LCHlch(43.06, 82.95, 297.48°)
OKLaboklab(52.43% 0.0002 -0.2126)
OKLCHoklch(52.43% 0.213 270.1)
XYZxyz(19.1005, 13.2013, 73.4782)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56E2 #E2CB3F
analogous
#3FA8E2 #3F56E2 #7A3FE2
triadic
#3F56E2 #E23F56 #56E23F
tetradic
#3F56E2 #E23FA8 #E2CB3F #3FE27A
square
#3F56E2 #E23FA8 #E2CB3F #3FE27A
split-complementary
#3F56E2 #E27A3F #A8E23F
monochromatic
#162791 #1E36C6 #3F56E2 #7485EA #A9B4F2

Accessibility & contrast

On white

5.77
#3F56E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3F56E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56E2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56E2#FFFFFF#000000##FFFFFF
##3F56E21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f56e2;
/* rgb */ color: rgb(63, 86, 226);
/* oklch */ color: oklch(52.4% 0.213 270.1);
Tailwind
colors: {
  custom: {
    50: '#8a85ec',
    500: '#3f56e2',
    950: '#000000',
  },
}
SCSS
$custom: #3f56e2;
$custom-light: #8a85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56e2",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 231.534,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.2126,
    "h": 270.1
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#3F56E2
secondary
#E0D69D
accent
#D637F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3F56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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