#3F46BB#3F46BB

#3F46BB is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.181 H 274.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#3F46BB
RGBrgb(63, 70, 187)
HSLhsl(237, 50%, 49%)
HSVhsv(237, 66%, 73%)
CMYKcmyk(66.3%, 62.6%, 0%, 26.7%)
CIE-LABlab(36.03, 34.71, -62.56)
CIE-LCHlch(36.03, 71.54, 299.02°)
OKLaboklab(46.26% 0.0134 -0.1804)
OKLCHoklch(46.26% 0.181 274.2)
XYZxyz(13.2067, 9.0238, 48.0499)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46BB #BBB43F
analogous
#3F84BB #3F46BB #763FBB
triadic
#3F46BB #BB3F46 #46BB3F
tetradic
#3F46BB #BB3F84 #BBB43F #3FBB76
square
#3F46BB #BB3F84 #BBB43F #3FBB76
split-complementary
#3F46BB #BB763F #84BB3F
monochromatic
#20245F #30358D #3F46BB #6A70CD #989CDC

Accessibility & contrast

On white

7.49
#3F46BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3F46BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46BB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46BB#FFFFFF#000000##FFFFFF
##3F46BB1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f46bb;
/* rgb */ color: rgb(63, 70, 187);
/* oklch */ color: oklch(46.3% 0.181 274.2);
Tailwind
colors: {
  custom: {
    50: '#8379d0',
    500: '#3f46bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f46bb;
$custom-light: #8379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46bb",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 236.613,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46255,
    "c": 0.18087,
    "h": 274.2
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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