#3F54EA#3F54EA

#3F54EA is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.225 H 270.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3F54EA
RGBrgb(63, 84, 234)
HSLhsl(233, 80%, 58%)
HSVhsv(233, 73%, 92%)
CMYKcmyk(73.1%, 64.1%, 0%, 8.2%)
CIE-LABlab(43.26, 42.27, -77.79)
CIE-LCHlch(43.26, 88.54, 298.52°)
OKLaboklab(52.78% 0.0011 -0.2249)
OKLCHoklch(52.78% 0.225 270.3)
XYZxyz(20.0664, 13.3358, 79.3425)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F54EA #EAD53F
analogous
#3FA9EA #3F54EA #803FEA
triadic
#3F54EA #EA3F54 #54EA3F
tetradic
#3F54EA #EA3FA9 #EAD53F #3FEA80
square
#3F54EA #EA3FA9 #EAD53F #3FEA80
split-complementary
#3F54EA #EA803F #A9EA3F
monochromatic
#11229D #172ED5 #3F54EA #7685F0 #ADB6F6

Accessibility & contrast

On white

5.73
#3F54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3F54EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F54EA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F54EA#FFFFFF#000000##FFFFFF
##3F54EA1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f54ea;
/* rgb */ color: rgb(63, 84, 234);
/* oklch */ color: oklch(52.8% 0.225 270.3);
Tailwind
colors: {
  custom: {
    50: '#8c84f2',
    500: '#3f54ea',
    950: '#000000',
  },
}
SCSS
$custom: #3f54ea;
$custom-light: #8c84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f54ea",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 232.632,
    "s": 80.282,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52778,
    "c": 0.22493,
    "h": 270.3
  },
  "luminance": 0.13338
}

Semantic roles & 50–950 ramp

primary
#3F54EA
secondary
#E4DCA0
accent
#DE31F7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #3F54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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