#3A37B5#3A37B5

#3A37B5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.192 H 275.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3A37B5
RGBrgb(58, 55, 181)
HSLhsl(241, 53%, 46%)
HSVhsv(241, 70%, 71%)
CMYKcmyk(68%, 69.6%, 0%, 29%)
CIE-LABlab(31.73, 41.19, -66.07)
CIE-LCHlch(31.73, 77.86, 301.94°)
OKLaboklab(42.88% 0.019 -0.1908)
OKLCHoklch(42.88% 0.192 275.7)
XYZxyz(11.4489, 6.9671, 44.4485)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37B5 #B2B537
analogous
#3773B5 #3A37B5 #7937B5
triadic
#3A37B5 #B53A37 #37B53A
tetradic
#3A37B5 #B53773 #B2B537 #37B579
square
#3A37B5 #B53773 #B2B537 #37B579
split-complementary
#3A37B5 #B57937 #73B537
monochromatic
#1C1A57 #2B2986 #3A37B5 #5F5CCD #8D8BDC

Accessibility & contrast

On white

8.77
#3A37B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3A37B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37B5
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37B5#FFFFFF#000000##FFFFFF
##3A37B51.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a37b5;
/* rgb */ color: rgb(58, 55, 181);
/* oklch */ color: oklch(42.9% 0.192 275.7);
Tailwind
colors: {
  custom: {
    50: '#816fcc',
    500: '#3a37b5',
    950: '#000000',
  },
}
SCSS
$custom: #3a37b5;
$custom-light: #816fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37b5",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 241.429,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42881,
    "c": 0.19178,
    "h": 275.7
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#3A37B5
secondary
#C4C682
accent
#DD4BD9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A37B5

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

Preview Lab → · Contrast checker → · Palette generator →

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