#3F41BE#3F41BE

#3F41BE is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.191 H 275.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3F41BE
RGBrgb(63, 65, 190)
HSLhsl(239, 50%, 50%)
HSVhsv(239, 67%, 75%)
CMYKcmyk(66.8%, 65.8%, 0%, 25.5%)
CIE-LABlab(35.11, 38.83, -65.83)
CIE-LCHlch(35.11, 76.43, 300.54°)
OKLaboklab(45.66% 0.017 -0.19)
OKLCHoklch(45.66% 0.191 275.1)
XYZxyz(13.2314, 8.5539, 49.6590)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41BE #BEBC3F
analogous
#3F81BE #3F41BE #7D3FBE
triadic
#3F41BE #BE3F41 #41BE3F
tetradic
#3F41BE #BE3F81 #BEBC3F #3FBE7D
square
#3F41BE #BE3F81 #BEBC3F #3FBE7D
split-complementary
#3F41BE #BE7D3F #81BE3F
monochromatic
#212262 #303190 #3F41BE #6C6ECE #9A9BDD

Accessibility & contrast

On white

7.75
#3F41BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3F41BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41BE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41BE#FFFFFF#000000##FFFFFF
##3F41BE1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f41be;
/* rgb */ color: rgb(63, 65, 190);
/* oklch */ color: oklch(45.7% 0.191 275.1);
Tailwind
colors: {
  custom: {
    50: '#8476d3',
    500: '#3f41be',
    950: '#000000',
  },
}
SCSS
$custom: #3f41be;
$custom-light: #8476d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41be",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 239.055,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45661,
    "c": 0.19074,
    "h": 275.1
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#3F41BE
secondary
#C9C98F
accent
#D84EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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