#3A37C5#3A37C5

#3A37C5 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.4% C 0.212 H 274.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3A37C5
RGBrgb(58, 55, 197)
HSLhsl(241, 56%, 49%)
HSVhsv(241, 72%, 77%)
CMYKcmyk(70.6%, 72.1%, 0%, 22.7%)
CIE-LABlab(33.27, 46.47, -72.97)
CIE-LCHlch(33.27, 86.51, 302.49°)
OKLaboklab(44.45% 0.0165 -0.211)
OKLCHoklch(44.45% 0.212 274.5)
XYZxyz(13.1858, 7.6619, 53.5965)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37C5 #C2C537
analogous
#377BC5 #3A37C5 #8137C5
triadic
#3A37C5 #C53A37 #37C53A
tetradic
#3A37C5 #C5377B #C2C537 #37C581
square
#3A37C5 #C5377B #C2C537 #37C581
split-complementary
#3A37C5 #C58137 #7BC537
monochromatic
#1E1C65 #2C2A95 #3A37C5 #6765D4 #9795E1

Accessibility & contrast

On white

8.29
#3A37C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3A37C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37C5
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37C5#FFFFFF#000000##FFFFFF
##3A37C51.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a37c5;
/* rgb */ color: rgb(58, 55, 197);
/* oklch */ color: oklch(44.4% 0.212 274.5);
Tailwind
colors: {
  custom: {
    50: '#846fd8',
    500: '#3a37c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a37c5;
$custom-light: #846fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37c5",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 241.268,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44446,
    "c": 0.21163,
    "h": 274.5
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#3A37C5
secondary
#CBCD8B
accent
#E048DC
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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