#3A37BC#3A37BC

#3A37BC is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.6% C 0.201 H 275.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3A37BC
RGBrgb(58, 55, 188)
HSLhsl(241, 55%, 48%)
HSVhsv(241, 71%, 74%)
CMYKcmyk(69.1%, 70.7%, 0%, 26.3%)
CIE-LABlab(32.40, 43.52, -69.12)
CIE-LCHlch(32.40, 81.68, 302.19°)
OKLaboklab(43.56% 0.018 -0.1997)
OKLCHoklch(43.56% 0.201 275.1)
XYZxyz(12.1852, 7.2616, 48.3267)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37BC #B9BC37
analogous
#3777BC #3A37BC #7C37BC
triadic
#3A37BC #BC3A37 #37BC3A
tetradic
#3A37BC #BC3777 #B9BC37 #37BC7C
square
#3A37BC #BC3777 #B9BC37 #37BC7C
split-complementary
#3A37BC #BC7C37 #77BC37
monochromatic
#1D1B5D #2B298D #3A37BC #6260D0 #918FDE

Accessibility & contrast

On white

8.56
#3A37BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3A37BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37BC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37BC#FFFFFF#000000##FFFFFF
##3A37BC1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a37bc;
/* rgb */ color: rgb(58, 55, 188);
/* oklch */ color: oklch(43.6% 0.201 275.1);
Tailwind
colors: {
  custom: {
    50: '#826fd1',
    500: '#3a37bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a37bc;
$custom-light: #826fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37bc",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 241.353,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43558,
    "c": 0.20055,
    "h": 275.1
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#3A37BC
secondary
#C7C986
accent
#DE4ADB
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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