#3F54D2#3F54D2

#3F54D2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.194 H 270.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#3F54D2
RGBrgb(63, 84, 210)
HSLhsl(231, 62%, 54%)
HSVhsv(231, 70%, 82%)
CMYKcmyk(70%, 60%, 0%, 17.6%)
CIE-LABlab(41.29, 33.92, -67.34)
CIE-LCHlch(41.29, 75.40, 296.74°)
OKLaboklab(50.72% 0.0019 -0.1943)
OKLCHoklch(50.72% 0.194 270.6)
XYZxyz(16.8491, 12.0489, 62.3980)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F54D2 #D2BD3F
analogous
#3F9DD2 #3F54D2 #733FD2
triadic
#3F54D2 #D23F54 #54D23F
tetradic
#3F54D2 #D23F9D #D2BD3F #3FD273
square
#3F54D2 #D23F9D #D2BD3F #3FD273
split-complementary
#3F54D2 #D2733F #9DD23F
monochromatic
#1D2A7A #283BAC #3F54D2 #7180DE #A2ACE9

Accessibility & contrast

On white

6.16
#3F54D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3F54D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F54D2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F54D2#FFFFFF#000000##FFFFFF
##3F54D21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f54d2;
/* rgb */ color: rgb(63, 84, 210);
/* oklch */ color: oklch(50.7% 0.194 270.6);
Tailwind
colors: {
  custom: {
    50: '#8784e1',
    500: '#3f54d2',
    950: '#000000',
  },
}
SCSS
$custom: #3f54d2;
$custom-light: #8784e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f54d2",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 231.429,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50717,
    "c": 0.1943,
    "h": 270.6
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#3F54D2
secondary
#D6CD97
accent
#CE43E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #3F54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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