#3F54BF#3F54BF

#3F54BF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.169 H 270.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#3F54BF
RGBrgb(63, 84, 191)
HSLhsl(230, 50%, 50%)
HSVhsv(230, 67%, 75%)
CMYKcmyk(67%, 56%, 0%, 25.1%)
CIE-LABlab(39.84, 27.20, -58.70)
CIE-LCHlch(39.84, 64.69, 294.86°)
OKLaboklab(49.18% 0.0017 -0.1689)
OKLCHoklch(49.18% 0.169 270.6)
XYZxyz(14.6210, 11.1576, 50.6632)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F54BF #BFAA3F
analogous
#3F94BF #3F54BF #6A3FBF
triadic
#3F54BF #BF3F54 #54BF3F
tetradic
#3F54BF #BF3F94 #BFAA3F #3FBF6A
square
#3F54BF #BF3F94 #BFAA3F #3FBF6A
split-complementary
#3F54BF #BF6A3F #94BF3F
monochromatic
#212C63 #304091 #3F54BF #6D7DCF #9BA6DE

Accessibility & contrast

On white

6.50
#3F54BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3F54BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F54BF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F54BF#FFFFFF#000000##FFFFFF
##3F54BF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f54bf;
/* rgb */ color: rgb(63, 84, 191);
/* oklch */ color: oklch(49.2% 0.169 270.6);
Tailwind
colors: {
  custom: {
    50: '#8383d3',
    500: '#3f54bf',
    950: '#000000',
  },
}
SCSS
$custom: #3f54bf;
$custom-light: #8383d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f54bf",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 230.156,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49183,
    "c": 0.16889,
    "h": 270.6
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#3F54BF
secondary
#CAC090
accent
#C34EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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