#3A37C6#3A37C6

#3A37C6 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.213 H 274.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3A37C6
RGBrgb(58, 55, 198)
HSLhsl(241, 57%, 50%)
HSVhsv(241, 72%, 78%)
CMYKcmyk(70.7%, 72.2%, 0%, 22.4%)
CIE-LABlab(33.37, 46.80, -73.39)
CIE-LCHlch(33.37, 87.04, 302.52°)
OKLaboklab(44.55% 0.0163 -0.2122)
OKLCHoklch(44.55% 0.213 274.4)
XYZxyz(13.3008, 7.7078, 54.2019)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37C6 #C3C637
analogous
#377BC6 #3A37C6 #8237C6
triadic
#3A37C6 #C63A37 #37C63A
tetradic
#3A37C6 #C6377B #C3C637 #37C682
square
#3A37C6 #C6377B #C3C637 #37C682
split-complementary
#3A37C6 #C68237 #7BC637
monochromatic
#1E1C66 #2C2A96 #3A37C6 #6866D4 #9796E2

Accessibility & contrast

On white

8.26
#3A37C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3A37C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37C6
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37C6#FFFFFF#000000##FFFFFF
##3A37C61.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a37c6;
/* rgb */ color: rgb(58, 55, 198);
/* oklch */ color: oklch(44.5% 0.213 274.4);
Tailwind
colors: {
  custom: {
    50: '#846fd9',
    500: '#3a37c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a37c6;
$custom-light: #846fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37c6",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 241.259,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44545,
    "c": 0.21285,
    "h": 274.4
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#3A37C6
secondary
#CCCD8C
accent
#E048DD
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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