#3A37C1#3A37C1

#3A37C1 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.0% C 0.207 H 274.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3A37C1
RGBrgb(58, 55, 193)
HSLhsl(241, 56%, 49%)
HSVhsv(241, 72%, 76%)
CMYKcmyk(69.9%, 71.5%, 0%, 24.3%)
CIE-LABlab(32.88, 45.16, -71.27)
CIE-LCHlch(32.88, 84.37, 302.36°)
OKLaboklab(44.05% 0.0172 -0.206)
OKLCHoklch(44.05% 0.207 274.8)
XYZxyz(12.7336, 7.4810, 51.2146)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37C1 #BEC137
analogous
#3779C1 #3A37C1 #7F37C1
triadic
#3A37C1 #C13A37 #37C13A
tetradic
#3A37C1 #C13779 #BEC137 #37C17F
square
#3A37C1 #C13779 #BEC137 #37C17F
split-complementary
#3A37C1 #C17F37 #79C137
monochromatic
#1D1C62 #2C2991 #3A37C1 #6563D2 #9492E0

Accessibility & contrast

On white

8.41
#3A37C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A37C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37C1
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37C1#FFFFFF#000000##FFFFFF
##3A37C11.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a37c1;
/* rgb */ color: rgb(58, 55, 193);
/* oklch */ color: oklch(44.0% 0.207 274.8);
Tailwind
colors: {
  custom: {
    50: '#836fd5',
    500: '#3a37c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a37c1;
$custom-light: #836fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37c1",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 241.304,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44049,
    "c": 0.20674,
    "h": 274.8
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A37C1

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

Preview Lab → · Contrast checker → · Palette generator →

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