#3F41BC#3F41BC

#3F41BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.188 H 275.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3F41BC
RGBrgb(63, 65, 188)
HSLhsl(239, 50%, 49%)
HSVhsv(239, 66%, 74%)
CMYKcmyk(66.5%, 65.4%, 0%, 26.3%)
CIE-LABlab(34.94, 38.15, -64.94)
CIE-LCHlch(34.94, 75.31, 300.44°)
OKLaboklab(45.48% 0.0172 -0.1874)
OKLCHoklch(45.48% 0.188 275.2)
XYZxyz(13.0143, 8.4670, 48.5157)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41BC #BCBA3F
analogous
#3F80BC #3F41BC #7C3FBC
triadic
#3F41BC #BC3F41 #41BC3F
tetradic
#3F41BC #BC3F80 #BCBA3F #3FBC7C
square
#3F41BC #BC3F80 #BCBA3F #3FBC7C
split-complementary
#3F41BC #BC7C3F #80BC3F
monochromatic
#202160 #30318E #3F41BC #6B6CCD #999ADD

Accessibility & contrast

On white

7.80
#3F41BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3F41BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41BC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41BC#FFFFFF#000000##FFFFFF
##3F41BC1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f41bc;
/* rgb */ color: rgb(63, 65, 188);
/* oklch */ color: oklch(45.5% 0.188 275.2);
Tailwind
colors: {
  custom: {
    50: '#8376d1',
    500: '#3f41bc',
    950: '#000000',
  },
}
SCSS
$custom: #3f41bc;
$custom-light: #8376d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41bc",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 239.04,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.18815,
    "h": 275.2
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#3F41BC
secondary
#C9C88E
accent
#D74ED9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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