#3A37C4#3A37C4

#3A37C4 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.210 H 274.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#3A37C4
RGBrgb(58, 55, 196)
HSLhsl(241, 56%, 49%)
HSVhsv(241, 72%, 77%)
CMYKcmyk(70.4%, 71.9%, 0%, 23.1%)
CIE-LABlab(33.17, 46.15, -72.54)
CIE-LCHlch(33.17, 85.98, 302.46°)
OKLaboklab(44.35% 0.0167 -0.2097)
OKLCHoklch(44.35% 0.21 274.5)
XYZxyz(13.0716, 7.6162, 52.9950)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37C4 #C1C437
analogous
#377AC4 #3A37C4 #8137C4
triadic
#3A37C4 #C43A37 #37C43A
tetradic
#3A37C4 #C4377A #C1C437 #37C481
square
#3A37C4 #C4377A #C1C437 #37C481
split-complementary
#3A37C4 #C48137 #7AC437
monochromatic
#1E1C64 #2C2A94 #3A37C4 #6765D4 #9694E1

Accessibility & contrast

On white

8.32
#3A37C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3A37C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37C4
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37C4#FFFFFF#000000##FFFFFF
##3A37C41.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a37c4;
/* rgb */ color: rgb(58, 55, 196);
/* oklch */ color: oklch(44.3% 0.210 274.5);
Tailwind
colors: {
  custom: {
    50: '#846fd7',
    500: '#3a37c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a37c4;
$custom-light: #846fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37c4",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 241.277,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44346,
    "c": 0.21041,
    "h": 274.5
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#3A37C4
secondary
#CBCC8B
accent
#DF48DC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3A37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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