#3F37B2#3F37B2

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

Color values

HEX#3F37B2
RGBrgb(63, 55, 178)
HSLhsl(244, 53%, 46%)
HSVhsv(244, 69%, 70%)
CMYKcmyk(64.6%, 69.1%, 0%, 30.2%)
CIE-LABlab(31.81, 40.85, -64.14)
CIE-LCHlch(31.81, 76.04, 302.49°)
OKLaboklab(42.95% 0.0258 -0.1851)
OKLCHoklch(42.95% 0.187 277.9)
XYZxyz(11.4494, 7.0026, 42.8591)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F37B2 #AAB237
analogous
#376DB2 #3F37B2 #7C37B2
triadic
#3F37B2 #B23F37 #37B23F
tetradic
#3F37B2 #B2376D #AAB237 #37B27C
square
#3F37B2 #B2376D #AAB237 #37B27C
split-complementary
#3F37B2 #B27C37 #6DB237
monochromatic
#1E1A54 #2E2983 #3F37B2 #625ACC #8E89DB

Accessibility & contrast

On white

8.75
#3F37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F37B2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F37B2#FFFFFF#000000##FFFFFF
##3F37B21.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f37b2;
/* rgb */ color: rgb(63, 55, 178);
/* oklch */ color: oklch(42.9% 0.187 277.9);
Tailwind
colors: {
  custom: {
    50: '#826fca',
    500: '#3f37b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f37b2;
$custom-light: #826fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f37b2",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 243.902,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42947,
    "c": 0.18685,
    "h": 277.9
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#3F37B2
secondary
#C0C580
accent
#DC4CD3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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