#3F54BA#3F54BA

#3F54BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.162 H 270.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3F54BA
RGBrgb(63, 84, 186)
HSLhsl(230, 49%, 49%)
HSVhsv(230, 66%, 73%)
CMYKcmyk(66.1%, 54.8%, 0%, 27.1%)
CIE-LABlab(39.48, 25.42, -56.36)
CIE-LCHlch(39.48, 61.83, 294.27°)
OKLaboklab(48.8% 0.0014 -0.162)
OKLCHoklch(48.8% 0.162 270.5)
XYZxyz(14.0801, 10.9413, 47.8147)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F54BA #BAA53F
analogous
#3F92BA #3F54BA #683FBA
triadic
#3F54BA #BA3F54 #54BA3F
tetradic
#3F54BA #BA3F92 #BAA53F #3FBA68
square
#3F54BA #BA3F92 #BAA53F #3FBA68
split-complementary
#3F54BA #BA683F #92BA3F
monochromatic
#202B5F #303F8C #3F54BA #6A7BCC #97A3DC

Accessibility & contrast

On white

6.59
#3F54BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3F54BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F54BA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F54BA#FFFFFF#000000##FFFFFF
##3F54BA1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0163BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f54ba;
/* rgb */ color: rgb(63, 84, 186);
/* oklch */ color: oklch(48.8% 0.162 270.5);
Tailwind
colors: {
  custom: {
    50: '#8283cf',
    500: '#3f54ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f54ba;
$custom-light: #8283cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f54ba",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 229.756,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48795,
    "c": 0.16202,
    "h": 270.5
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#3F54BA
secondary
#C8BE8D
accent
#C14FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3F54BA

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

Preview Lab → · Contrast checker → · Palette generator →

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