#3A37AE#3A37AE

#3A37AE is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.183 H 276.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3A37AE
RGBrgb(58, 55, 174)
HSLhsl(242, 52%, 45%)
HSVhsv(242, 68%, 68%)
CMYKcmyk(66.7%, 68.4%, 0%, 31.8%)
CIE-LABlab(31.08, 38.85, -62.96)
CIE-LCHlch(31.08, 73.98, 301.67°)
OKLaboklab(42.22% 0.02 -0.1818)
OKLCHoklch(42.22% 0.183 276.3)
XYZxyz(10.7486, 6.6870, 40.7605)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37AE #ABAE37
analogous
#376FAE #3A37AE #7637AE
triadic
#3A37AE #AE3A37 #37AE3A
tetradic
#3A37AE #AE376F #ABAE37 #37AE76
square
#3A37AE #AE376F #ABAE37 #37AE76
split-complementary
#3A37AE #AE7637 #6FAE37
monochromatic
#1B1A51 #2B287F #3A37AE #5B58CA #8986D9

Accessibility & contrast

On white

8.98
#3A37AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3A37AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37AE
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37AE#FFFFFF#000000##FFFFFF
##3A37AE1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a37ae;
/* rgb */ color: rgb(58, 55, 174);
/* oklch */ color: oklch(42.2% 0.183 276.3);
Tailwind
colors: {
  custom: {
    50: '#7f6fc7',
    500: '#3a37ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a37ae;
$custom-light: #7f6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37ae",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 241.513,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.18285,
    "h": 276.3
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#3A37AE
secondary
#C1C37E
accent
#DB4CD8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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