#3F54D4#3F54D4

#3F54D4 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.197 H 270.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#3F54D4
RGBrgb(63, 84, 212)
HSLhsl(232, 63%, 54%)
HSVhsv(232, 70%, 83%)
CMYKcmyk(70.3%, 60.4%, 0%, 16.9%)
CIE-LABlab(41.45, 34.62, -68.23)
CIE-LCHlch(41.45, 76.51, 296.91°)
OKLaboklab(50.88% 0.0019 -0.1969)
OKLCHoklch(50.88% 0.197 270.6)
XYZxyz(17.0998, 12.1492, 63.7184)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F54D4 #D4BF3F
analogous
#3F9ED4 #3F54D4 #753FD4
triadic
#3F54D4 #D43F54 #54D43F
tetradic
#3F54D4 #D43F9E #D4BF3F #3FD475
square
#3F54D4 #D43F9E #D4BF3F #3FD475
split-complementary
#3F54D4 #D4753F #9ED43F
monochromatic
#1C2A7D #273AAF #3F54D4 #7181DF #A3ADEA

Accessibility & contrast

On white

6.12
#3F54D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3F54D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F54D4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F54D4#FFFFFF#000000##FFFFFF
##3F54D41.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f54d4;
/* rgb */ color: rgb(63, 84, 212);
/* oklch */ color: oklch(50.9% 0.197 270.6);
Tailwind
colors: {
  custom: {
    50: '#8784e2',
    500: '#3f54d4',
    950: '#000000',
  },
}
SCSS
$custom: #3f54d4;
$custom-light: #8784e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f54d4",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 231.544,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.19691,
    "h": 270.6
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#3F54D4
secondary
#D7CE98
accent
#CF41E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #3F54D4

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

Preview Lab → · Contrast checker → · Palette generator →

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