#3A37C2#3A37C2

#3A37C2 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.1% C 0.208 H 274.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#3A37C2
RGBrgb(58, 55, 194)
HSLhsl(241, 56%, 49%)
HSVhsv(241, 72%, 76%)
CMYKcmyk(70.1%, 71.6%, 0%, 23.9%)
CIE-LABlab(32.97, 45.49, -71.69)
CIE-LCHlch(32.97, 84.91, 302.40°)
OKLaboklab(44.15% 0.017 -0.2073)
OKLCHoklch(44.15% 0.208 274.7)
XYZxyz(12.8455, 7.5257, 51.8041)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37C2 #BFC237
analogous
#377AC2 #3A37C2 #8037C2
triadic
#3A37C2 #C23A37 #37C23A
tetradic
#3A37C2 #C2377A #BFC237 #37C280
square
#3A37C2 #C2377A #BFC237 #37C280
split-complementary
#3A37C2 #C28037 #7AC237
monochromatic
#1D1C63 #2C2992 #3A37C2 #6663D3 #9593E0

Accessibility & contrast

On white

8.38
#3A37C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A37C2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37C2#FFFFFF#000000##FFFFFF
##3A37C21.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a37c2;
/* rgb */ color: rgb(58, 55, 194);
/* oklch */ color: oklch(44.1% 0.208 274.7);
Tailwind
colors: {
  custom: {
    50: '#836fd6',
    500: '#3a37c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a37c2;
$custom-light: #836fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37c2",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 241.295,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44148,
    "c": 0.20797,
    "h": 274.7
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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