#3F41BF#3F41BF

#3F41BF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.192 H 275.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3F41BF
RGBrgb(63, 65, 191)
HSLhsl(239, 50%, 50%)
HSVhsv(239, 67%, 75%)
CMYKcmyk(67%, 66%, 0%, 25.1%)
CIE-LABlab(35.20, 39.17, -66.27)
CIE-LCHlch(35.20, 76.98, 300.58°)
OKLaboklab(45.75% 0.0169 -0.1913)
OKLCHoklch(45.75% 0.192 275)
XYZxyz(13.3411, 8.5978, 50.2366)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41BF #BFBD3F
analogous
#3F81BF #3F41BF #7D3FBF
triadic
#3F41BF #BF3F41 #41BF3F
tetradic
#3F41BF #BF3F81 #BFBD3F #3FBF7D
square
#3F41BF #BF3F81 #BFBD3F #3FBF7D
split-complementary
#3F41BF #BF7D3F #81BF3F
monochromatic
#212263 #303191 #3F41BF #6D6ECF #9B9CDE

Accessibility & contrast

On white

7.72
#3F41BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3F41BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41BF
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41BF#FFFFFF#000000##FFFFFF
##3F41BF1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f41bf;
/* rgb */ color: rgb(63, 65, 191);
/* oklch */ color: oklch(45.8% 0.192 275.0);
Tailwind
colors: {
  custom: {
    50: '#8476d3',
    500: '#3f41bf',
    950: '#000000',
  },
}
SCSS
$custom: #3f41bf;
$custom-light: #8476d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41bf",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 239.063,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45751,
    "c": 0.19203,
    "h": 275
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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