#3F41C0#3F41C0

#3F41C0 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.193 H 275.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3F41C0
RGBrgb(63, 65, 192)
HSLhsl(239, 51%, 50%)
HSVhsv(239, 67%, 75%)
CMYKcmyk(67.2%, 66.1%, 0%, 24.7%)
CIE-LABlab(35.29, 39.51, -66.71)
CIE-LCHlch(35.29, 77.53, 300.63°)
OKLaboklab(45.84% 0.0168 -0.1926)
OKLCHoklch(45.84% 0.193 275)
XYZxyz(13.4515, 8.6419, 50.8181)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41C0 #C0BE3F
analogous
#3F81C0 #3F41C0 #7E3FC0
triadic
#3F41C0 #C03F41 #41C03F
tetradic
#3F41C0 #C03F81 #C0BE3F #3FC07E
square
#3F41C0 #C03F81 #C0BE3F #3FC07E
split-complementary
#3F41C0 #C07E3F #81C03F
monochromatic
#212264 #303192 #3F41C0 #6D6FCF #9B9CDE

Accessibility & contrast

On white

7.70
#3F41C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3F41C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41C0
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41C0#FFFFFF#000000##FFFFFF
##3F41C01.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f41c0;
/* rgb */ color: rgb(63, 65, 192);
/* oklch */ color: oklch(45.8% 0.193 275.0);
Tailwind
colors: {
  custom: {
    50: '#8476d4',
    500: '#3f41c0',
    950: '#000000',
  },
}
SCSS
$custom: #3f41c0;
$custom-light: #8476d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41c0",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 239.07,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.19331,
    "h": 275
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#3F41C0
secondary
#CAC991
accent
#D84EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F41C0

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

Preview Lab → · Contrast checker → · Palette generator →

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