#3A37D1#3A37D1

#3A37D1 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.7% C 0.226 H 273.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3A37D1
RGBrgb(58, 55, 209)
HSLhsl(241, 63%, 52%)
HSVhsv(241, 74%, 82%)
CMYKcmyk(72.2%, 73.7%, 0%, 18%)
CIE-LABlab(34.47, 50.35, -77.98)
CIE-LCHlch(34.47, 92.82, 302.85°)
OKLaboklab(45.66% 0.0144 -0.2256)
OKLCHoklch(45.66% 0.226 273.6)
XYZxyz(14.6159, 8.2339, 61.1283)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37D1 #CED137
analogous
#3781D1 #3A37D1 #8737D1
triadic
#3A37D1 #D13A37 #37D13A
tetradic
#3A37D1 #D13781 #CED137 #37D187
square
#3A37D1 #D13781 #CED137 #37D187
split-complementary
#3A37D1 #D18737 #81D137
monochromatic
#1C1A73 #2826A5 #3A37D1 #6B69DC #9C9BE8

Accessibility & contrast

On white

7.93
#3A37D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3A37D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37D1
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37D1#FFFFFF#000000##FFFFFF
##3A37D11.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D5
Deuteranopia (green-blind)
#004ACE
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a37d1;
/* rgb */ color: rgb(58, 55, 209);
/* oklch */ color: oklch(45.7% 0.226 273.6);
Tailwind
colors: {
  custom: {
    50: '#8770e0',
    500: '#3a37d1',
    950: '#000000',
  },
}
SCSS
$custom: #3a37d1;
$custom-light: #8770e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37d1",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 241.169,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.45655,
    "c": 0.22605,
    "h": 273.6
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#3A37D1
secondary
#D2D490
accent
#E642E2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A37D1

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

Preview Lab → · Contrast checker → · Palette generator →

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