#3F41D8#3F41D8

#3F41D8 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.1% C 0.223 H 273.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3F41D8
RGBrgb(63, 65, 216)
HSLhsl(239, 66%, 55%)
HSVhsv(239, 71%, 85%)
CMYKcmyk(70.8%, 69.9%, 0%, 15.3%)
CIE-LABlab(37.47, 47.49, -77.06)
CIE-LCHlch(37.47, 90.52, 301.65°)
OKLaboklab(48.08% 0.0139 -0.2228)
OKLCHoklch(48.08% 0.223 273.6)
XYZxyz(16.3307, 9.7936, 65.9821)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41D8 #D8D63F
analogous
#3F8DD8 #3F41D8 #8A3FD8
triadic
#3F41D8 #D83F41 #41D83F
tetradic
#3F41D8 #D83F8D #D8D63F #3FD88A
square
#3F41D8 #D83F8D #D8D63F #3FD88A
split-complementary
#3F41D8 #D88A3F #8DD83F
monochromatic
#1A1C82 #2527B5 #3F41D8 #7273E2 #A5A6ED

Accessibility & contrast

On white

7.10
#3F41D8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3F41D8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41D8
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41D8#FFFFFF#000000##FFFFFF
##3F41D81.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDD
Deuteranopia (green-blind)
#0051D5
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f41d8;
/* rgb */ color: rgb(63, 65, 216);
/* oklch */ color: oklch(48.1% 0.223 273.6);
Tailwind
colors: {
  custom: {
    50: '#8977e5',
    500: '#3f41d8',
    950: '#000000',
  },
}
SCSS
$custom: #3f41d8;
$custom-light: #8977e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41d8",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 239.216,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48084,
    "c": 0.22326,
    "h": 273.6
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#3F41D8
secondary
#DAD999
accent
#E73FE9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3F41D8

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

Preview Lab → · Contrast checker → · Palette generator →

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