#3F41B8#3F41B8

#3F41B8 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.183 H 275.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3F41B8
RGBrgb(63, 65, 184)
HSLhsl(239, 49%, 48%)
HSVhsv(239, 66%, 72%)
CMYKcmyk(65.8%, 64.7%, 0%, 27.8%)
CIE-LABlab(34.59, 36.79, -63.14)
CIE-LCHlch(34.59, 73.08, 300.23°)
OKLaboklab(45.13% 0.0175 -0.1821)
OKLCHoklch(45.13% 0.183 275.5)
XYZxyz(12.5891, 8.2970, 46.2762)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41B8 #B8B63F
analogous
#3F7DB8 #3F41B8 #793FB8
triadic
#3F41B8 #B83F41 #41B83F
tetradic
#3F41B8 #B83F7D #B8B63F #3FB879
square
#3F41B8 #B83F7D #B8B63F #3FB879
split-complementary
#3F41B8 #B8793F #7DB83F
monochromatic
#20215D #2F318A #3F41B8 #696ACC #9697DB

Accessibility & contrast

On white

7.90
#3F41B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3F41B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41B8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41B8#FFFFFF#000000##FFFFFF
##3F41B81.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f41b8;
/* rgb */ color: rgb(63, 65, 184);
/* oklch */ color: oklch(45.1% 0.183 275.5);
Tailwind
colors: {
  custom: {
    50: '#8376ce',
    500: '#3f41b8',
    950: '#000000',
  },
}
SCSS
$custom: #3f41b8;
$custom-light: #8376ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41b8",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 239.008,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.18295,
    "h": 275.5
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#3F41B8
secondary
#C7C68C
accent
#D64FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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