#3F37C7#3F37C7

#3F37C7 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.213 H 276.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3F37C7
RGBrgb(63, 55, 199)
HSLhsl(243, 57%, 50%)
HSVhsv(243, 72%, 78%)
CMYKcmyk(68.3%, 72.4%, 0%, 22%)
CIE-LABlab(33.80, 47.65, -73.25)
CIE-LCHlch(33.80, 87.39, 303.04°)
OKLaboklab(44.97% 0.0223 -0.2117)
OKLCHoklch(44.97% 0.213 276)
XYZxyz(13.7215, 7.9114, 54.8257)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F37C7 #BFC737
analogous
#3777C7 #3F37C7 #8737C7
triadic
#3F37C7 #C73F37 #37C73F
tetradic
#3F37C7 #C73777 #BFC737 #37C787
square
#3F37C7 #C73777 #BFC737 #37C787
split-complementary
#3F37C7 #C78737 #77C737
monochromatic
#211C67 #302A97 #3F37C7 #6D66D5 #9B96E2

Accessibility & contrast

On white

8.13
#3F37C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3F37C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F37C7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F37C7#FFFFFF#000000##FFFFFF
##3F37C71.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f37c7;
/* rgb */ color: rgb(63, 55, 199);
/* oklch */ color: oklch(45.0% 0.213 276.0);
Tailwind
colors: {
  custom: {
    50: '#8770d9',
    500: '#3f37c7',
    950: '#000000',
  },
}
SCSS
$custom: #3f37c7;
$custom-light: #8770d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f37c7",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 243.333,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44969,
    "c": 0.21287,
    "h": 276
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#3F37C7
secondary
#CACD8C
accent
#E048D8
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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