#3F46BA#3F46BA

#3F46BA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.180 H 274.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3F46BA
RGBrgb(63, 70, 186)
HSLhsl(237, 49%, 49%)
HSVhsv(237, 66%, 73%)
CMYKcmyk(66.1%, 62.4%, 0%, 27.1%)
CIE-LABlab(35.95, 34.36, -62.11)
CIE-LCHlch(35.95, 70.98, 298.95°)
OKLaboklab(46.17% 0.0134 -0.179)
OKLCHoklch(46.17% 0.18 274.3)
XYZxyz(13.1000, 8.9811, 47.4880)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46BA #BAB33F
analogous
#3F84BA #3F46BA #763FBA
triadic
#3F46BA #BA3F46 #46BA3F
tetradic
#3F46BA #BA3F84 #BAB33F #3FBA76
square
#3F46BA #BA3F84 #BAB33F #3FBA76
split-complementary
#3F46BA #BA763F #84BA3F
monochromatic
#20245F #30358C #3F46BA #6A6FCC #979BDC

Accessibility & contrast

On white

7.51
#3F46BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3F46BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46BA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46BA#FFFFFF#000000##FFFFFF
##3F46BA1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f46ba;
/* rgb */ color: rgb(63, 70, 186);
/* oklch */ color: oklch(46.2% 0.180 274.3);
Tailwind
colors: {
  custom: {
    50: '#8379d0',
    500: '#3f46ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f46ba;
$custom-light: #8379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46ba",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 236.585,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.17955,
    "h": 274.3
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#3F46BA
secondary
#C8C48D
accent
#D14FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3F46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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