#3F41D9#3F41D9

#3F41D9 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.2% C 0.224 H 273.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#3F41D9
RGBrgb(63, 65, 217)
HSLhsl(239, 67%, 55%)
HSVhsv(239, 71%, 85%)
CMYKcmyk(71%, 70%, 0%, 14.9%)
CIE-LABlab(37.56, 47.82, -77.48)
CIE-LCHlch(37.56, 91.05, 301.68°)
OKLaboklab(48.18% 0.0137 -0.224)
OKLCHoklch(48.18% 0.224 273.5)
XYZxyz(16.4604, 9.8455, 66.6651)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41D9 #D9D73F
analogous
#3F8ED9 #3F41D9 #8A3FD9
triadic
#3F41D9 #D93F41 #41D93F
tetradic
#3F41D9 #D93F8E #D9D73F #3FD98A
square
#3F41D9 #D93F8E #D9D73F #3FD98A
split-complementary
#3F41D9 #D98A3F #8ED93F
monochromatic
#1A1B84 #2426B7 #3F41D9 #7274E3 #A5A6ED

Accessibility & contrast

On white

7.07
#3F41D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3F41D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41D9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41D9#FFFFFF#000000##FFFFFF
##3F41D91.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DE
Deuteranopia (green-blind)
#0051D6
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f41d9;
/* rgb */ color: rgb(63, 65, 217);
/* oklch */ color: oklch(48.2% 0.224 273.5);
Tailwind
colors: {
  custom: {
    50: '#8977e6',
    500: '#3f41d9',
    950: '#000000',
  },
}
SCSS
$custom: #3f41d9;
$custom-light: #8977e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41d9",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 239.221,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.4818,
    "c": 0.22447,
    "h": 273.5
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#3F41D9
secondary
#DAD99A
accent
#E83EEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3F41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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