#3A37C3#3A37C3

#3A37C3 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.2% C 0.209 H 274.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#3A37C3
RGBrgb(58, 55, 195)
HSLhsl(241, 56%, 49%)
HSVhsv(241, 72%, 76%)
CMYKcmyk(70.3%, 71.8%, 0%, 23.5%)
CIE-LABlab(33.07, 45.82, -72.12)
CIE-LCHlch(33.07, 85.44, 302.43°)
OKLaboklab(44.25% 0.0168 -0.2085)
OKLCHoklch(44.25% 0.209 274.6)
XYZxyz(12.9582, 7.5708, 52.3976)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37C3 #C0C337
analogous
#377AC3 #3A37C3 #8037C3
triadic
#3A37C3 #C33A37 #37C33A
tetradic
#3A37C3 #C3377A #C0C337 #37C380
square
#3A37C3 #C3377A #C0C337 #37C380
split-complementary
#3A37C3 #C38037 #7AC337
monochromatic
#1E1C64 #2C2A93 #3A37C3 #6664D3 #9594E1

Accessibility & contrast

On white

8.35
#3A37C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3A37C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37C3
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37C3#FFFFFF#000000##FFFFFF
##3A37C31.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a37c3;
/* rgb */ color: rgb(58, 55, 195);
/* oklch */ color: oklch(44.2% 0.209 274.6);
Tailwind
colors: {
  custom: {
    50: '#846fd6',
    500: '#3a37c3',
    950: '#000000',
  },
}
SCSS
$custom: #3a37c3;
$custom-light: #846fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37c3",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 241.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44247,
    "c": 0.20919,
    "h": 274.6
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#3A37C3
secondary
#CACC8A
accent
#DF49DC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A37C3

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

Preview Lab → · Contrast checker → · Palette generator →

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