#3F54E2#3F54E2

#3F54E2 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.1% C 0.215 H 270.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3F54E2
RGBrgb(63, 84, 226)
HSLhsl(232, 74%, 57%)
HSVhsv(232, 72%, 89%)
CMYKcmyk(72.1%, 62.8%, 0%, 11.4%)
CIE-LABlab(42.59, 39.51, -74.37)
CIE-LCHlch(42.59, 84.21, 297.98°)
OKLaboklab(52.08% 0.0015 -0.2149)
OKLCHoklch(52.08% 0.215 270.4)
XYZxyz(18.9430, 12.8864, 73.4258)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F54E2 #E2CD3F
analogous
#3FA6E2 #3F54E2 #7C3FE2
triadic
#3F54E2 #E23F54 #54E23F
tetradic
#3F54E2 #E23FA6 #E2CD3F #3FE27C
square
#3F54E2 #E23FA6 #E2CD3F #3FE27C
split-complementary
#3F54E2 #E27C3F #A6E23F
monochromatic
#162691 #1E34C6 #3F54E2 #7483EA #A9B3F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F54E2#FFFFFF#000000##FFFFFF
##3F54E21.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)
#006CE7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f54e2;
/* rgb */ color: rgb(63, 84, 226);
/* oklch */ color: oklch(52.1% 0.215 270.4);
Tailwind
colors: {
  custom: {
    50: '#8a84ec',
    500: '#3f54e2',
    950: '#000000',
  },
}
SCSS
$custom: #3f54e2;
$custom-light: #8a84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f54e2",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 232.27,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.2149,
    "h": 270.4
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#3F54E2
secondary
#E0D79D
accent
#D937F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3F54E2

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

Preview Lab → · Contrast checker → · Palette generator →

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