#3F37B3#3F37B3

#3F37B3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.0% C 0.188 H 277.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3F37B3
RGBrgb(63, 55, 179)
HSLhsl(244, 53%, 46%)
HSVhsv(244, 69%, 70%)
CMYKcmyk(64.8%, 69.3%, 0%, 29.8%)
CIE-LABlab(31.90, 41.17, -64.58)
CIE-LCHlch(31.90, 76.59, 302.52°)
OKLaboklab(43.04% 0.0257 -0.1864)
OKLCHoklch(43.04% 0.188 277.8)
XYZxyz(11.5501, 7.0429, 43.3898)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F37B3 #ABB337
analogous
#376DB3 #3F37B3 #7D37B3
triadic
#3F37B3 #B33F37 #37B33F
tetradic
#3F37B3 #B3376D #ABB337 #37B37D
square
#3F37B3 #B3376D #ABB337 #37B37D
split-complementary
#3F37B3 #B37D37 #6DB337
monochromatic
#1E1A55 #2F2984 #3F37B3 #625BCD #8F8ADB

Accessibility & contrast

On white

8.72
#3F37B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3F37B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F37B3
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F37B3#FFFFFF#000000##FFFFFF
##3F37B31.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f37b3;
/* rgb */ color: rgb(63, 55, 179);
/* oklch */ color: oklch(43.0% 0.188 277.8);
Tailwind
colors: {
  custom: {
    50: '#826fcb',
    500: '#3f37b3',
    950: '#000000',
  },
}
SCSS
$custom: #3f37b3;
$custom-light: #826fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f37b3",
  "rgb": {
    "r": 63,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 243.871,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43041,
    "c": 0.18812,
    "h": 277.8
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#3F37B3
secondary
#C1C581
accent
#DC4BD3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F37B3

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

Preview Lab → · Contrast checker → · Palette generator →

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