#3F37B1#3F37B1

#3F37B1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.186 H 278.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3F37B1
RGBrgb(63, 55, 177)
HSLhsl(244, 53%, 45%)
HSVhsv(244, 69%, 69%)
CMYKcmyk(64.4%, 68.9%, 0%, 30.6%)
CIE-LABlab(31.72, 40.52, -63.69)
CIE-LCHlch(31.72, 75.49, 302.46°)
OKLaboklab(42.85% 0.026 -0.1837)
OKLCHoklch(42.85% 0.186 278)
XYZxyz(11.3493, 6.9625, 42.3323)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F37B1 #A9B137
analogous
#376CB1 #3F37B1 #7C37B1
triadic
#3F37B1 #B13F37 #37B13F
tetradic
#3F37B1 #B1376C #A9B137 #37B17C
square
#3F37B1 #B1376C #A9B137 #37B17C
split-complementary
#3F37B1 #B17C37 #6CB137
monochromatic
#1E1A54 #2E2882 #3F37B1 #615ACC #8E88DA

Accessibility & contrast

On white

8.78
#3F37B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F37B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F37B1
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F37B1#FFFFFF#000000##FFFFFF
##3F37B11.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f37b1;
/* rgb */ color: rgb(63, 55, 177);
/* oklch */ color: oklch(42.9% 0.186 278.0);
Tailwind
colors: {
  custom: {
    50: '#826fc9',
    500: '#3f37b1',
    950: '#000000',
  },
}
SCSS
$custom: #3f37b1;
$custom-light: #826fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f37b1",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 243.934,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.18557,
    "h": 278
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#3F37B1
secondary
#C0C480
accent
#DC4CD3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F37B1

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

Preview Lab → · Contrast checker → · Palette generator →

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