#3F41CB#3F41CB

#3F41CB is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.9% C 0.207 H 274.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#3F41CB
RGBrgb(63, 65, 203)
HSLhsl(239, 57%, 52%)
HSVhsv(239, 69%, 80%)
CMYKcmyk(69%, 68%, 0%, 20.4%)
CIE-LABlab(36.27, 43.20, -71.52)
CIE-LCHlch(36.27, 83.55, 301.13°)
OKLaboklab(46.85% 0.0156 -0.2067)
OKLCHoklch(46.85% 0.207 274.3)
XYZxyz(14.7161, 9.1478, 57.4785)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41CB #CBC93F
analogous
#3F87CB #3F41CB #833FCB
triadic
#3F41CB #CB3F41 #41CB3F
tetradic
#3F41CB #CB3F87 #CBC93F #3FCB83
square
#3F41CB #CB3F87 #CBC93F #3FCB83
split-complementary
#3F41CB #CB833F #87CB3F
monochromatic
#1F2071 #2C2DA1 #3F41CB #6F71D8 #9FA0E5

Accessibility & contrast

On white

7.42
#3F41CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3F41CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41CB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41CB#FFFFFF#000000##FFFFFF
##3F41CB1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#004FC8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f41cb;
/* rgb */ color: rgb(63, 65, 203);
/* oklch */ color: oklch(46.9% 0.207 274.3);
Tailwind
colors: {
  custom: {
    50: '#8776dc',
    500: '#3f41cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f41cb;
$custom-light: #8776dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41cb",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 239.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.46853,
    "c": 0.20724,
    "h": 274.3
  },
  "luminance": 0.09149
}

Semantic roles & 50–950 ramp

primary
#3F41CB
secondary
#D1D194
accent
#DE47E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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