#3F41BA#3F41BA

#3F41BA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.186 H 275.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3F41BA
RGBrgb(63, 65, 186)
HSLhsl(239, 49%, 49%)
HSVhsv(239, 66%, 73%)
CMYKcmyk(66.1%, 65.1%, 0%, 27.1%)
CIE-LABlab(34.76, 37.47, -64.04)
CIE-LCHlch(34.76, 74.20, 300.34°)
OKLaboklab(45.3% 0.0173 -0.1847)
OKLCHoklch(45.3% 0.186 275.4)
XYZxyz(12.8002, 8.3814, 47.3881)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41BA #BAB83F
analogous
#3F7FBA #3F41BA #7B3FBA
triadic
#3F41BA #BA3F41 #41BA3F
tetradic
#3F41BA #BA3F7F #BAB83F #3FBA7B
square
#3F41BA #BA3F7F #BAB83F #3FBA7B
split-complementary
#3F41BA #BA7B3F #7FBA3F
monochromatic
#20215F #30318C #3F41BA #6A6BCC #9799DC

Accessibility & contrast

On white

7.85
#3F41BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3F41BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41BA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41BA#FFFFFF#000000##FFFFFF
##3F41BA1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f41ba;
/* rgb */ color: rgb(63, 65, 186);
/* oklch */ color: oklch(45.3% 0.186 275.4);
Tailwind
colors: {
  custom: {
    50: '#8376d0',
    500: '#3f41ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f41ba;
$custom-light: #8376d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41ba",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 239.024,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45303,
    "c": 0.18556,
    "h": 275.4
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#3F41BA
secondary
#C8C78D
accent
#D74FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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