#3F54BE#3F54BE

#3F54BE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.168 H 270.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3F54BE
RGBrgb(63, 84, 190)
HSLhsl(230, 50%, 50%)
HSVhsv(230, 67%, 75%)
CMYKcmyk(66.8%, 55.8%, 0%, 25.5%)
CIE-LABlab(39.77, 26.84, -58.23)
CIE-LCHlch(39.77, 64.12, 294.75°)
OKLaboklab(49.1% 0.0016 -0.1675)
OKLCHoklch(49.1% 0.168 270.6)
XYZxyz(14.5113, 11.1138, 50.0856)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F54BE #BEA93F
analogous
#3F94BE #3F54BE #6A3FBE
triadic
#3F54BE #BE3F54 #54BE3F
tetradic
#3F54BE #BE3F94 #BEA93F #3FBE6A
square
#3F54BE #BE3F94 #BEA93F #3FBE6A
split-complementary
#3F54BE #BE6A3F #94BE3F
monochromatic
#212B62 #304090 #3F54BE #6C7CCE #9AA5DD

Accessibility & contrast

On white

6.52
#3F54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3F54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F54BE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F54BE#FFFFFF#000000##FFFFFF
##3F54BE1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f54be;
/* rgb */ color: rgb(63, 84, 190);
/* oklch */ color: oklch(49.1% 0.168 270.6);
Tailwind
colors: {
  custom: {
    50: '#8283d2',
    500: '#3f54be',
    950: '#000000',
  },
}
SCSS
$custom: #3f54be;
$custom-light: #8283d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f54be",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 230.079,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.16752,
    "h": 270.6
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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