#3F54BD#3F54BD

#3F54BD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.166 H 270.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3F54BD
RGBrgb(63, 84, 189)
HSLhsl(230, 50%, 49%)
HSVhsv(230, 67%, 74%)
CMYKcmyk(66.7%, 55.6%, 0%, 25.9%)
CIE-LABlab(39.70, 26.48, -57.76)
CIE-LCHlch(39.70, 63.55, 294.63°)
OKLaboklab(49.03% 0.0016 -0.1661)
OKLCHoklch(49.03% 0.166 270.5)
XYZxyz(14.4024, 11.0702, 49.5120)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F54BD #BDA83F
analogous
#3F93BD #3F54BD #693FBD
triadic
#3F54BD #BD3F54 #54BD3F
tetradic
#3F54BD #BD3F93 #BDA83F #3FBD69
square
#3F54BD #BD3F93 #BDA83F #3FBD69
split-complementary
#3F54BD #BD693F #93BD3F
monochromatic
#202B61 #30408F #3F54BD #6B7CCE #99A5DD

Accessibility & contrast

On white

6.53
#3F54BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3F54BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F54BD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F54BD#FFFFFF#000000##FFFFFF
##3F54BD1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f54bd;
/* rgb */ color: rgb(63, 84, 189);
/* oklch */ color: oklch(49.0% 0.166 270.5);
Tailwind
colors: {
  custom: {
    50: '#8283d2',
    500: '#3f54bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f54bd;
$custom-light: #8283d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f54bd",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 230,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49027,
    "c": 0.16615,
    "h": 270.5
  },
  "luminance": 0.11072
}

Semantic roles & 50–950 ramp

primary
#3F54BD
secondary
#C9BF8F
accent
#C24EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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