#3F46BE#3F46BE

#3F46BE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.5% C 0.185 H 274.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#3F46BE
RGBrgb(63, 70, 190)
HSLhsl(237, 50%, 50%)
HSVhsv(237, 67%, 75%)
CMYKcmyk(66.8%, 63.2%, 0%, 25.5%)
CIE-LABlab(36.28, 35.74, -63.92)
CIE-LCHlch(36.28, 73.23, 299.21°)
OKLaboklab(46.51% 0.0132 -0.1844)
OKLCHoklch(46.51% 0.185 274.1)
XYZxyz(13.5312, 9.1536, 49.7589)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F46BE #BEB73F
analogous
#3F86BE #3F46BE #783FBE
triadic
#3F46BE #BE3F46 #46BE3F
tetradic
#3F46BE #BE3F86 #BEB73F #3FBE78
square
#3F46BE #BE3F86 #BEB73F #3FBE78
split-complementary
#3F46BE #BE783F #86BE3F
monochromatic
#212462 #303590 #3F46BE #6C71CE #9A9EDD

Accessibility & contrast

On white

7.42
#3F46BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3F46BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F46BE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F46BE#FFFFFF#000000##FFFFFF
##3F46BE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f46be;
/* rgb */ color: rgb(63, 70, 190);
/* oklch */ color: oklch(46.5% 0.185 274.1);
Tailwind
colors: {
  custom: {
    50: '#8379d3',
    500: '#3f46be',
    950: '#000000',
  },
}
SCSS
$custom: #3f46be;
$custom-light: #8379d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f46be",
  "rgb": {
    "r": 63,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 236.693,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46514,
    "c": 0.18483,
    "h": 274.1
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#3F46BE
secondary
#C9C68F
accent
#D24EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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