#3F38C6#3F38C6

#3F38C6 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.211 H 276.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3F38C6
RGBrgb(63, 56, 198)
HSLhsl(243, 56%, 50%)
HSVhsv(243, 72%, 78%)
CMYKcmyk(68.2%, 71.7%, 0%, 22.4%)
CIE-LABlab(33.90, 46.77, -72.50)
CIE-LCHlch(33.90, 86.28, 302.83°)
OKLaboklab(45.01% 0.0219 -0.2095)
OKLCHoklch(45.01% 0.211 276)
XYZxyz(13.6538, 7.9611, 54.2322)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38C6 #BFC638
analogous
#3878C6 #3F38C6 #8638C6
triadic
#3F38C6 #C63F38 #38C63F
tetradic
#3F38C6 #C63878 #BFC638 #38C686
square
#3F38C6 #C63878 #BFC638 #38C686
split-complementary
#3F38C6 #C68638 #78C638
monochromatic
#211D67 #302B96 #3F38C6 #6D67D4 #9B97E2

Accessibility & contrast

On white

8.10
#3F38C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3F38C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38C6
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38C6#FFFFFF#000000##FFFFFF
##3F38C61.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f38c6;
/* rgb */ color: rgb(63, 56, 198);
/* oklch */ color: oklch(45.0% 0.211 276.0);
Tailwind
colors: {
  custom: {
    50: '#8670d9',
    500: '#3f38c6',
    950: '#000000',
  },
}
SCSS
$custom: #3f38c6;
$custom-light: #8670d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38c6",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 242.958,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.21064,
    "h": 276
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#3F38C6
secondary
#CACD8D
accent
#DF49D8
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F38C6

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

Preview Lab → · Contrast checker → · Palette generator →

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