#3F56EA#3F56EA

#3F56EA is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.1% C 0.223 H 270.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#3F56EA
RGBrgb(63, 86, 234)
HSLhsl(232, 80%, 58%)
HSVhsv(232, 73%, 92%)
CMYKcmyk(73.1%, 63.2%, 0%, 8.2%)
CIE-LABlab(43.73, 41.05, -77.04)
CIE-LCHlch(43.73, 87.29, 298.05°)
OKLaboklab(53.12% -0.0001 -0.2227)
OKLCHoklch(53.12% 0.223 270)
XYZxyz(20.2239, 13.6507, 79.3950)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56EA #EAD33F
analogous
#3FABEA #3F56EA #7D3FEA
triadic
#3F56EA #EA3F56 #56EA3F
tetradic
#3F56EA #EA3FAB #EAD33F #3FEA7D
square
#3F56EA #EA3FAB #EAD33F #3FEA7D
split-complementary
#3F56EA #EA7D3F #ABEA3F
monochromatic
#11249D #1731D5 #3F56EA #7687F0 #ADB7F6

Accessibility & contrast

On white

5.63
#3F56EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3F56EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56EA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56EA#FFFFFF#000000##FFFFFF
##3F56EA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#005FE7
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f56ea;
/* rgb */ color: rgb(63, 86, 234);
/* oklch */ color: oklch(53.1% 0.223 270.0);
Tailwind
colors: {
  custom: {
    50: '#8b85f2',
    500: '#3f56ea',
    950: '#000000',
  },
}
SCSS
$custom: #3f56ea;
$custom-light: #8b85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56ea",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 231.93,
    "s": 80.282,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53118,
    "c": 0.2227,
    "h": 270
  },
  "luminance": 0.13653
}

Semantic roles & 50–950 ramp

primary
#3F56EA
secondary
#E4DBA0
accent
#DC31F7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #3F56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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