#3A37DA#3A37DA

#3A37DA is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.6% C 0.237 H 273.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3A37DA
RGBrgb(58, 55, 218)
HSLhsl(241, 69%, 54%)
HSVhsv(241, 75%, 85%)
CMYKcmyk(73.4%, 74.8%, 0%, 14.5%)
CIE-LABlab(35.38, 53.21, -81.66)
CIE-LCHlch(35.38, 97.46, 303.09°)
OKLaboklab(46.58% 0.0127 -0.2363)
OKLCHoklch(46.58% 0.237 273.1)
XYZxyz(15.7618, 8.6922, 67.1632)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37DA #D7DA37
analogous
#3785DA #3A37DA #8B37DA
triadic
#3A37DA #DA3A37 #37DA3A
tetradic
#3A37DA #DA3785 #D7DA37 #37DA8B
square
#3A37DA #DA3785 #D7DA37 #37DA8B
split-complementary
#3A37DA #DA8B37 #85DA37
monochromatic
#19187F #2421B3 #3A37DA #6D6BE4 #A09EED

Accessibility & contrast

On white

7.67
#3A37DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3A37DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37DA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37DA#FFFFFF#000000##FFFFFF
##3A37DA1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDF
Deuteranopia (green-blind)
#004BD7
Tritanopia (blue-blind)
#006786
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a37da;
/* rgb */ color: rgb(58, 55, 218);
/* oklch */ color: oklch(46.6% 0.237 273.1);
Tailwind
colors: {
  custom: {
    50: '#8970e7',
    500: '#3a37da',
    950: '#000000',
  },
}
SCSS
$custom: #3a37da;
$custom-light: #8970e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37da",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 241.104,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46579,
    "c": 0.23662,
    "h": 273.1
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#3A37DA
secondary
#D8D993
accent
#EC3CE8
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3A37DA

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

Preview Lab → · Contrast checker → · Palette generator →

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