#3F41D2#3F41D2

#3F41D2 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.5% C 0.216 H 273.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#3F41D2
RGBrgb(63, 65, 210)
HSLhsl(239, 62%, 54%)
HSVhsv(239, 70%, 82%)
CMYKcmyk(70%, 69%, 0%, 17.6%)
CIE-LABlab(36.91, 45.52, -74.52)
CIE-LCHlch(36.91, 87.32, 301.42°)
OKLaboklab(47.51% 0.0147 -0.2154)
OKLCHoklch(47.51% 0.216 273.9)
XYZxyz(15.5692, 9.4890, 61.9713)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41D2 #D2D03F
analogous
#3F8AD2 #3F41D2 #863FD2
triadic
#3F41D2 #D23F41 #41D23F
tetradic
#3F41D2 #D23F8A #D2D03F #3FD286
square
#3F41D2 #D23F8A #D2D03F #3FD286
split-complementary
#3F41D2 #D2863F #8AD23F
monochromatic
#1D1E7A #282AAC #3F41D2 #7172DE #A2A3E9

Accessibility & contrast

On white

7.25
#3F41D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3F41D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41D2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41D2#FFFFFF#000000##FFFFFF
##3F41D21.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0050CF
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f41d2;
/* rgb */ color: rgb(63, 65, 210);
/* oklch */ color: oklch(47.5% 0.216 273.9);
Tailwind
colors: {
  custom: {
    50: '#8877e1',
    500: '#3f41d2',
    950: '#000000',
  },
}
SCSS
$custom: #3f41d2;
$custom-light: #8877e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41d2",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 239.184,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47512,
    "c": 0.21592,
    "h": 273.9
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

primary
#3F41D2
secondary
#D6D597
accent
#E343E5
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #3F41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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