#3F37C6#3F37C6

#3F37C6 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.212 H 276.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3F37C6
RGBrgb(63, 55, 198)
HSLhsl(243, 57%, 50%)
HSVhsv(243, 72%, 78%)
CMYKcmyk(68.2%, 72.2%, 0%, 22.4%)
CIE-LABlab(33.70, 47.33, -72.83)
CIE-LCHlch(33.70, 86.86, 303.02°)
OKLaboklab(44.87% 0.0225 -0.2105)
OKLCHoklch(44.87% 0.212 276.1)
XYZxyz(13.6058, 7.8651, 54.2162)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F37C6 #BEC637
analogous
#3776C6 #3F37C6 #8737C6
triadic
#3F37C6 #C63F37 #37C63F
tetradic
#3F37C6 #C63776 #BEC637 #37C687
square
#3F37C6 #C63776 #BEC637 #37C687
split-complementary
#3F37C6 #C68737 #76C637
monochromatic
#211C66 #302A96 #3F37C6 #6C66D4 #9A96E2

Accessibility & contrast

On white

8.16
#3F37C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3F37C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F37C6
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F37C6#FFFFFF#000000##FFFFFF
##3F37C61.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f37c6;
/* rgb */ color: rgb(63, 55, 198);
/* oklch */ color: oklch(44.9% 0.212 276.1);
Tailwind
colors: {
  custom: {
    50: '#8670d9',
    500: '#3f37c6',
    950: '#000000',
  },
}
SCSS
$custom: #3f37c6;
$custom-light: #8670d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f37c6",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 243.357,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.21166,
    "h": 276.1
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#3F37C6
secondary
#C9CD8C
accent
#E048D7
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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