#3A37BB#3A37BB

#3A37BB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.5% C 0.199 H 275.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3A37BB
RGBrgb(58, 55, 187)
HSLhsl(241, 55%, 47%)
HSVhsv(241, 71%, 73%)
CMYKcmyk(69%, 70.6%, 0%, 26.7%)
CIE-LABlab(32.30, 43.19, -68.69)
CIE-LCHlch(32.30, 81.13, 302.16°)
OKLaboklab(43.46% 0.0181 -0.1985)
OKLCHoklch(43.46% 0.199 275.2)
XYZxyz(12.0778, 7.2187, 47.7609)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37BB #B8BB37
analogous
#3776BB #3A37BB #7C37BB
triadic
#3A37BB #BB3A37 #37BB3A
tetradic
#3A37BB #BB3776 #B8BB37 #37BB7C
square
#3A37BB #BB3776 #B8BB37 #37BB7C
split-complementary
#3A37BB #BB7C37 #76BB37
monochromatic
#1D1B5C #2B298C #3A37BB #625FD0 #908EDE

Accessibility & contrast

On white

8.59
#3A37BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3A37BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37BB
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37BB#FFFFFF#000000##FFFFFF
##3A37BB1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a37bb;
/* rgb */ color: rgb(58, 55, 187);
/* oklch */ color: oklch(43.5% 0.199 275.2);
Tailwind
colors: {
  custom: {
    50: '#826fd1',
    500: '#3a37bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a37bb;
$custom-light: #826fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37bb",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 241.364,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43461,
    "c": 0.19931,
    "h": 275.2
  },
  "luminance": 0.0722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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